Class DBC.AiChatTurnFields
Fields for AiChatTurn, Contains AI Chatbot history - contains whole chat, not just what is sent to the chatbot. History is ready ordered by timestamp
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
public static class DBC.AiChatTurnFields
Fields
AiChatTurnId
AiChatTurn.AiChatTurnId: Primary key
Declaration
public const string AiChatTurnId = "ai_chat_turn_id"
Field Value
Type | Description |
---|---|
string |
AssociateId
AiChatTurn.AssociateId: User id that is chatting with the bot
Declaration
public const string AssociateId = "associate_id"
Field Value
Type | Description |
---|---|
string |
Attachments
AiChatTurn.Attachments: JSON Array of bot - NULL if not set
Declaration
public const string Attachments = "attachments"
Field Value
Type | Description |
---|---|
string |
BotActions
AiChatTurn.BotActions: Suggested actions (string dictionary) in JSON. NULL if not set
Declaration
public const string BotActions = "bot_actions"
Field Value
Type | Description |
---|---|
string |
BotResponse
AiChatTurn.BotResponse: AI Bot response to user_prompt - usually text
Declaration
public const string BotResponse = "bot_response"
Field Value
Type | Description |
---|---|
string |
ChatId
AiChatTurn.ChatId: The name of this chat topic - usually soproto + id (contact-123, sale-43, diary) but could also be an arbitrary name
Declaration
public const string ChatId = "chat_id"
Field Value
Type | Description |
---|---|
string |
Timestamp
AiChatTurn.Timestamp: When the chat happened (UTC)
Declaration
public const string Timestamp = "timestamp"
Field Value
Type | Description |
---|---|
string |
UserDisplaytext
AiChatTurn.UserDisplaytext: Display this text instead of the prompt (if set) - could be set by action
Declaration
public const string UserDisplaytext = "user_displaytext"
Field Value
Type | Description |
---|---|
string |
UserPrompt
AiChatTurn.UserPrompt: What the user typed
Declaration
public const string UserPrompt = "user_prompt"
Field Value
Type | Description |
---|---|
string |