Show / Hide Table of Contents

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.
Inheritance
object
ChatbotTurn
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
IAIAgent

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
IAIAgent

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
IAIAgent

BotResponse

Text from the chatbot

Declaration
[DataMember]
public virtual string BotResponse { get; set; }
Property Value
Type Description
string
See Also
IAIAgent

Timestamp

UTC timestamp for turn - when response was generated.

Declaration
[DataMember]
public virtual DateTime Timestamp { get; set; }
Property Value
Type Description
DateTime
See Also
IAIAgent

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
IAIAgent

UserPrompt

Text from the user

Declaration
[DataMember]
public virtual string UserPrompt { get; set; }
Property Value
Type Description
string
See Also
IAIAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

Overrides
object.ToString()
See Also
IAIAgent

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.

See Also
IAIAgent

See Also

IAIAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top