Show / Hide Table of Contents

Class RagAnswer

Contains the answer to an AI search, with sources used.

Carrier object for RagAnswer. Services for the RagAnswer Carrier is available from the AI Agent.
Inheritance
object
RagAnswer
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.2.0.0")]
public class RagAnswer

Constructors

RagAnswer()

Default constructor

Declaration
public RagAnswer()
See Also
IAIAgent

Properties

Answer

Response to the question

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

Source

Array of sources used to ground the answer. Each source has a chunk of text, relevancy score, title.

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

TrackingId

Unique identifier for this answer. Used for correlating feedback to answers

Declaration
[DataMember]
public virtual string TrackingId { 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