Table of Contents

Class InteractionFileSearchTool

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The file search tool (file_search).

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

Constructors

InteractionFileSearchTool()

Initializes a new instance of the InteractionFileSearchTool class.

public InteractionFileSearchTool()

Properties

FileSearchStoreNames

The file search store names to search.

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

Property Value

List<string>

MetadataFilter

Metadata filter to apply to the semantic retrieval documents and chunks.

[JsonPropertyName("metadata_filter")]
public string? MetadataFilter { get; set; }

Property Value

string

TopK

The number of semantic retrieval chunks to retrieve.

[JsonPropertyName("top_k")]
public int? TopK { get; set; }

Property Value

int?