interfaces

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// rabbit message names/exchanges
	RabbitRealTimeConversationInit     string = "realtime-conversation-created"
	RabbitRealTimeMessage              string = "realtime-message-created"
	RabbitRealTimeTopic                string = "realtime-topic-created"
	RabbitRealTimeTracker              string = "realtime-tracker-created"
	RabbitRealTimeEntity               string = "realtime-entity-created"
	RabbitRealTimeInsight              string = "realtime-insight-created"
	RabbitRealTimeConversationTeardown string = "realtime-conversation-teardown"
	RabbitRealTimeClientNotifications  string = "realtime-client-notification"

	RabbitAsyncConversationInit     string = "async-conversation-created"
	RabbitAsyncMessage              string = "async-message-created"
	RabbitAsyncQuestion             string = "async-question-created"
	RabbitAsyncFollowUp             string = "async-followup-created"
	RabbitAsyncActionItem           string = "async-actionitem-created"
	RabbitAsyncTopic                string = "async-topic-created"
	RabbitAsyncTracker              string = "async-tracker-created"
	RabbitAsyncEntity               string = "async-entity-created"
	RabbitAsyncConversationTeardown string = "async-conversation-teardown"

	// user-defined messages
	MessageTypeUserDefined string = "user_defined"

	// neo4j node ID names/index/uniqueIds
	DatabaseIndexConversation string = "conversationId"
	DatabaseIndexMessage      string = "messageId"
	DatabaseIndexUser         string = "userId"
	DatabaseIndexTopic        string = "topicId"
	DatabaseIndexTracker      string = "trackerId"
	DatabaseIndexInsight      string = "insightId"
	DatabaseIndexEntity       string = "entityId" // = entity.Type + "_" + entity.SubType + "_" + entity.Category
	DatabaseIndexEntityMatch  string = "matchId"  // = conversationId + "_" + entityId
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionItemResult

type ActionItemResult struct {
	Duplicate        bool                              `json:"duplicate,omitempty"`
	ConversationID   string                            `json:"conversationId,omitempty"`
	ActionItemResult *asyncinterfaces.ActionItemResult `json:"acitonItemResult,omitempty"`
}

type EntityResponse

type EntityResponse struct {
	ConversationID string                              `json:"conversationId,omitempty"`
	EntityResponse *streaminginterfaces.EntityResponse `json:"entityResponse,omitempty"`
}

type EntityResult

type EntityResult struct {
	Duplicate      bool                          `json:"duplicate,omitempty"`
	ConversationID string                        `json:"conversationId,omitempty"`
	EntityResult   *asyncinterfaces.EntityResult `json:"entityResult,omitempty"`
}

type FollowUpResult

type FollowUpResult struct {
	Duplicate      bool                            `json:"duplicate,omitempty"`
	ConversationID string                          `json:"conversationId,omitempty"`
	FollowUpResult *asyncinterfaces.FollowUpResult `json:"followUpResult,omitempty"`
}

type InitializationResponse

type InitializationResponse struct {
	InitializationMessage *streaminginterfaces.InitializationMessage `json:"initializationMessage,omitempty"`
}

Conversation Insight Responses (RealTime) with Metadata

type InitializationResult

type InitializationResult struct {
	Duplicate             bool                                   `json:"duplicate,omitempty"`
	InitializationMessage *asyncinterfaces.InitializationMessage `json:"initializationMessage,omitempty"`
}

Conversation Asynchronous Results (Asynchronous) with Metadata

type InsightResponse

type InsightResponse struct {
	ConversationID  string                               `json:"conversationId,omitempty"`
	InsightResponse *streaminginterfaces.InsightResponse `json:"insightResponse,omitempty"`
}

type MessageResponse

type MessageResponse struct {
	ConversationID  string                               `json:"conversationId,omitempty"`
	MessageResponse *streaminginterfaces.MessageResponse `json:"messageResponse,omitempty"`
}

type MessageResult

type MessageResult struct {
	Duplicate      bool                           `json:"duplicate,omitempty"`
	ConversationID string                         `json:"conversationId,omitempty"`
	MessageResult  *asyncinterfaces.MessageResult `json:"messageResult,omitempty"`
}

type QuestionResult

type QuestionResult struct {
	Duplicate      bool                            `json:"duplicate,omitempty"`
	ConversationID string                          `json:"conversationId,omitempty"`
	QuestionResult *asyncinterfaces.QuestionResult `json:"questionResult,omitempty"`
}

type RecognitionResponse

type RecognitionResponse struct {
	ConversationID    string                                 `json:"conversationId,omitempty"`
	RecognitionResult *streaminginterfaces.RecognitionResult `json:"recognitionResult,omitempty"`
}

type TeardownResponse

type TeardownResponse struct {
	TeardownMessage *streaminginterfaces.TeardownMessage `json:"teardownMessage,omitempty"`
}

type TeardownResult

type TeardownResult struct {
	Duplicate       bool                             `json:"duplicate,omitempty"`
	TeardownMessage *asyncinterfaces.TeardownMessage `json:"teardownResult,omitempty"`
}

type TopicResponse

type TopicResponse struct {
	ConversationID string                             `json:"conversationId,omitempty"`
	TopicResponse  *streaminginterfaces.TopicResponse `json:"topicResponse,omitempty"`
}

type TopicResult

type TopicResult struct {
	Duplicate      bool                         `json:"duplicate,omitempty"`
	ConversationID string                       `json:"conversationId,omitempty"`
	TopicResult    *asyncinterfaces.TopicResult `json:"topicResult,omitempty"`
}

type TrackerResponse

type TrackerResponse struct {
	ConversationID  string                               `json:"conversationId,omitempty"`
	TrackerResponse *streaminginterfaces.TrackerResponse `json:"trackerResponse,omitempty"`
}

type TrackerResult

type TrackerResult struct {
	Duplicate      bool                           `json:"duplicate,omitempty"`
	ConversationID string                         `json:"conversationId,omitempty"`
	TrackerResult  *asyncinterfaces.TrackerResult `json:"trackerResult,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL