pub struct EvalResponsesSamplingParams {
pub seed: Option<i32>,
pub top_p: Option<f64>,
pub temperature: Option<f64>,
pub max_completion_tokens: Option<u32>,
pub reasoning_effort: Option<ReasoningEffort>,
pub response_format: Option<ResponseFormat>,
pub tools: Option<Vec<Tool>>,
pub text: Option<ResponseTextParam>,
}Fields§
§seed: Option<i32>A seed value to initialize the randomness, during sampling.
top_p: Option<f64>An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
temperature: Option<f64>A higher temperature increases randomness in the outputs.
max_completion_tokens: Option<u32>The maximum number of tokens in the generated output.
reasoning_effort: Option<ReasoningEffort>Optional reasoning effort parameter.
response_format: Option<ResponseFormat>An object specifying the format that the model must output.
tools: Option<Vec<Tool>>A list of tools the model may call.
text: Option<ResponseTextParam>Configuration options for a text response from the model. Can be plain text or structured JSON data. Learn more:
Trait Implementations§
Source§impl Clone for EvalResponsesSamplingParams
impl Clone for EvalResponsesSamplingParams
Source§fn clone(&self) -> EvalResponsesSamplingParams
fn clone(&self) -> EvalResponsesSamplingParams
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 Debug for EvalResponsesSamplingParams
impl Debug for EvalResponsesSamplingParams
Source§impl Default for EvalResponsesSamplingParams
impl Default for EvalResponsesSamplingParams
Source§fn default() -> EvalResponsesSamplingParams
fn default() -> EvalResponsesSamplingParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EvalResponsesSamplingParams
impl<'de> Deserialize<'de> for EvalResponsesSamplingParams
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
impl StructuralPartialEq for EvalResponsesSamplingParams
Auto Trait Implementations§
impl Freeze for EvalResponsesSamplingParams
impl RefUnwindSafe for EvalResponsesSamplingParams
impl Send for EvalResponsesSamplingParams
impl Sync for EvalResponsesSamplingParams
impl Unpin for EvalResponsesSamplingParams
impl UnwindSafe for EvalResponsesSamplingParams
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