pub struct RunStepDetailsToolCallsFileSearchRankingOptionsObject {
pub ranker: FileSearchRanker,
pub score_threshold: f64,
}
Expand description
The ranking options for the file search.
Fields§
§ranker: FileSearchRanker
§score_threshold: f64
The score threshold for the file search. All values must be a floating point number between 0 and 1.
Implementations§
Source§impl RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl RunStepDetailsToolCallsFileSearchRankingOptionsObject
Sourcepub fn builder() -> RunStepDetailsToolCallsFileSearchRankingOptionsObjectBuilder<((), ())>
pub fn builder() -> RunStepDetailsToolCallsFileSearchRankingOptionsObjectBuilder<((), ())>
Create a builder for building RunStepDetailsToolCallsFileSearchRankingOptionsObject
.
On the builder, call .ranker(...)
, .score_threshold(...)
to set the values of the fields.
Finally, call .build()
to create the instance of RunStepDetailsToolCallsFileSearchRankingOptionsObject
.
Trait Implementations§
Source§impl Clone for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl Clone for RunStepDetailsToolCallsFileSearchRankingOptionsObject
Source§fn clone(&self) -> RunStepDetailsToolCallsFileSearchRankingOptionsObject
fn clone(&self) -> RunStepDetailsToolCallsFileSearchRankingOptionsObject
Returns a duplicate 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<'de> Deserialize<'de> for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl<'de> Deserialize<'de> for RunStepDetailsToolCallsFileSearchRankingOptionsObject
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
Source§impl PartialEq for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl PartialEq for RunStepDetailsToolCallsFileSearchRankingOptionsObject
Source§fn eq(
&self,
other: &RunStepDetailsToolCallsFileSearchRankingOptionsObject,
) -> bool
fn eq( &self, other: &RunStepDetailsToolCallsFileSearchRankingOptionsObject, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl StructuralPartialEq for RunStepDetailsToolCallsFileSearchRankingOptionsObject
Auto Trait Implementations§
impl Freeze for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl RefUnwindSafe for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl Send for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl Sync for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl Unpin for RunStepDetailsToolCallsFileSearchRankingOptionsObject
impl UnwindSafe for RunStepDetailsToolCallsFileSearchRankingOptionsObject
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