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

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

Type declaration

  • Optionalfile_search_store_names?: string[]

    The file search store names to search.

  • Optionalmetadata_filter?: string

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

  • Optionaltop_k?: number

    The number of semantic retrieval chunks to retrieve.

  • type: "file_search"