Table of Contents

Class FileSearch

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Tool that retrieves relevant content from File Search stores (managed retrieval-augmented generation).

public class FileSearch
Inheritance
FileSearch
Inherited Members
Extension Methods

Properties

FileSearchStoreNames

Names of the File Search stores to search, in the form fileSearchStores/{id}.

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

Property Value

List<string>

MetadataFilter

Metadata filter (AIP-160 syntax) applied to documents before retrieval.

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

Property Value

string

TopK

The number of chunks to retrieve.

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

Property Value

int?