Class ChatbotTurn
Chat turn contains one user question, an optional display value for the user prompt, and one chatbot response.
Carrier object for ChatbotTurn. Services for the ChatbotTurn Carrier is available from the AI Agent.Inherited Members
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.12.0.0")]
public class ChatbotTurn
Constructors
ChatbotTurn()
Default constructor
Declaration
public ChatbotTurn()
See Also
Properties
Attachments
optional array of attachments - can be URL or Base64 encoded data
Declaration
[DataMember]
public virtual string[] Attachments { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
See Also
BotActions
optional dictionary of action buttons. Key = Display text, Value = Prompt text
Declaration
[DataMember]
public virtual StringDictionary BotActions { get; set; }
Property Value
| Type | Description |
|---|---|
| StringDictionary |
See Also
BotResponse
Text from the chatbot
Declaration
[DataMember]
public virtual string BotResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Timestamp
UTC timestamp for turn - when response was generated.
Declaration
[DataMember]
public virtual DateTime Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
UserDisplayText
Optional display value to use instead of the the UserPrompt
Declaration
[DataMember]
public virtual string UserDisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
UserPrompt
Text from the user
Declaration
[DataMember]
public virtual string UserPrompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
Overrides
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |