Show / Hide Table of Contents

Class RagToolOutput

Specifies the output format for RAG tool, including the generated answer and citations.

Inheritance
object
ToolOutput
RagToolOutput
Inherited Members
ToolOutput.ToolId
ToolOutput.ToolName
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top