pub struct FileSearchTool {
pub filters: Option<Value>,
pub max_num_results: Option<i32>,
pub ranking_options: Option<RankingOptions>,
pub _type: String,
pub vector_store_ids: Vec<String>,
}
Fields§
§filters: Option<Value>
§max_num_results: Option<i32>
The maximum number of results to return. This number should be between 1 and 50 inclusive.
ranking_options: Option<RankingOptions>
Ranking options for search.
_type: String
The type of the file search tool. Always file_search
.
vector_store_ids: Vec<String>
The IDs of the vector stores to search.
Trait Implementations§
Source§impl Debug for FileSearchTool
impl Debug for FileSearchTool
Source§impl<'de> Deserialize<'de> for FileSearchTool
impl<'de> Deserialize<'de> for FileSearchTool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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