Table of Contents

Class InteractionRetrievalTool

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The retrieval tool (retrieval).

public sealed class InteractionRetrievalTool : InteractionTool
Inheritance
InteractionRetrievalTool
Inherited Members
Extension Methods

Constructors

InteractionRetrievalTool()

Initializes a new instance of the InteractionRetrievalTool class.

public InteractionRetrievalTool()

Properties

ExaAISearchConfig

Exa.ai search configuration.

[JsonPropertyName("exa_ai_search_config")]
public InteractionExternalSearchConfig? ExaAISearchConfig { get; set; }

Property Value

InteractionExternalSearchConfig

ParallelAISearchConfig

Parallel.ai search configuration.

[JsonPropertyName("parallel_ai_search_config")]
public InteractionExternalSearchConfig? ParallelAISearchConfig { get; set; }

Property Value

InteractionExternalSearchConfig

RagStoreConfig

RAG store configuration (rag_resources, rag_retrieval_config, ...), passed through as JSON.

[JsonPropertyName("rag_store_config")]
public JsonObject? RagStoreConfig { get; set; }

Property Value

JsonObject

RetrievalTypes

The types of retrieval to enable (vertex_ai_search, rag_store, exa_ai_search, parallel_ai_search).

[JsonPropertyName("retrieval_types")]
public List<string>? RetrievalTypes { get; set; }

Property Value

List<string>

VertexAISearchConfig

Vertex AI Search configuration.

[JsonPropertyName("vertex_ai_search_config")]
public InteractionVertexAISearchConfig? VertexAISearchConfig { get; set; }

Property Value

InteractionVertexAISearchConfig