Interface FileSearch

Tool to retrieve knowledge from the File Search Stores.

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

Properties

fileSearchStoreNames?: string[]

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

metadataFilter?: string

Metadata filter to apply to the file search retrieval documents. See https://google.aip.dev/160 for the syntax of the filter expression.

topK?: number

The number of file search retrieval chunks to retrieve.