Class RagToolOutput
Specifies the output format for RAG tool, including the generated answer and citations.
Inherited Members
Namespace: Oci.GenerativeaiagentruntimeService.Models
Assembly: OCI.DotNetSDK.Generativeaiagentruntime.dll
Syntax
public class RagToolOutput : ToolOutput
Properties
Citations
Declaration
[JsonProperty(PropertyName = "citations")]
public List<Citation> Citations { get; set; }
Property Value
Type | Description |
---|---|
List<Citation> | Citations to data sources used for tool's generated answer. |
ParagraphCitations
Declaration
[JsonProperty(PropertyName = "paragraphCitations")]
public List<ParagraphCitation> ParagraphCitations { get; set; }
Property Value
Type | Description |
---|---|
List<ParagraphCitation> | A list of citations used to generate the paragraphs of the tool's generated answer. |
Text
Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the generated answer from the RAG tool. |
Remarks
Required