pub struct AssistantToolsFileSearchFileSearch {
pub max_num_results: Option<i32>,
pub ranking_options: Option<FileSearchRankingOptions>,
}
Fields§
§max_num_results: Option<i32>
The maximum number of results the file search tool should output. The default is 20 for gpt-4*
models and 5 for gpt-3.5-turbo
. This number should be between 1 and 50 inclusive. Note that the file search tool may output fewer than max_num_results
results. See the file search tool documentation for more information.
ranking_options: Option<FileSearchRankingOptions>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AssistantToolsFileSearchFileSearch
impl<'de> Deserialize<'de> for AssistantToolsFileSearchFileSearch
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 AssistantToolsFileSearchFileSearch
impl RefUnwindSafe for AssistantToolsFileSearchFileSearch
impl Send for AssistantToolsFileSearchFileSearch
impl Sync for AssistantToolsFileSearchFileSearch
impl Unpin for AssistantToolsFileSearchFileSearch
impl UnwindSafe for AssistantToolsFileSearchFileSearch
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