A tool that can be used by the model to search files.

interface FileSearch {
    file_search_store_names?: string[];
    metadata_filter?: string;
    top_k?: number;
    type: "file_search";
}

Properties

file_search_store_names?: string[]

The file search store names to search.

metadata_filter?: string

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

top_k?: number

The number of semantic retrieval chunks to retrieve.

type: "file_search"