Interface FileSearch

The FileSearch tool that retrieves knowledge from Semantic Retrieval corpora. Files are imported to Semantic Retrieval corpora using the ImportFile API. This data type is not supported in Vertex AI.

interface FileSearch {
    fileSearchStoreNames?: string[];
    metadataFilter?: string;
    topK?: number;
}

Properties

fileSearchStoreNames?: string[]

Required. The names of the file_search_stores to retrieve from. Example: fileSearchStores/my-file-search-store-123

metadataFilter?: string

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

topK?: number

Optional. The number of semantic retrieval chunks to retrieve.