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.Inherited Members
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
Properties
Answer
Response to the question
Declaration
[DataMember]
public virtual string Answer { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
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
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
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. |