pub struct FileSearchTool {
pub type: String,
pub vector_store_ids: Vec<String>,
pub max_num_results: i64,
pub ranking_options: RankingOptions,
pub filters: FileSearchTool_Filters,
}Expand description
A tool that searches for relevant content from uploaded files.
Fields§
§type: StringThe type of the file search tool.
vector_store_ids: Vec<String>The IDs of the vector stores to search.
max_num_results: i64The maximum number of results to return.
ranking_options: RankingOptionsRanking options for search.
filters: FileSearchTool_FiltersTrait Implementations§
Source§impl Clone for FileSearchTool
impl Clone for FileSearchTool
Source§fn clone(&self) -> FileSearchTool
fn clone(&self) -> FileSearchTool
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileSearchTool
impl RefUnwindSafe for FileSearchTool
impl Send for FileSearchTool
impl Sync for FileSearchTool
impl Unpin for FileSearchTool
impl UnwindSafe for FileSearchTool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more