pub struct FileSearchTool {
pub type: String,
pub vector_store_ids: Vec<String>,
pub max_num_results: Option<i64>,
pub ranking_options: Option<RankingOptions>,
pub filters: Option<FileSearchTool_Filters>,
}
Expand description
A tool that searches for relevant content from uploaded files.
Fields§
§type: String
The type of the file search tool.
vector_store_ids: Vec<String>
The IDs of the vector stores to search.
max_num_results: Option<i64>
The maximum number of results to return.
ranking_options: Option<RankingOptions>
Ranking options for search.
filters: Option<FileSearchTool_Filters>
Trait 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 moreSource§impl Debug for FileSearchTool
impl Debug for FileSearchTool
Source§impl Default for FileSearchTool
impl Default for FileSearchTool
Source§fn default() -> FileSearchTool
fn default() -> FileSearchTool
Returns the “default value” for a type. Read more
Auto 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