pub struct EvalRunOutputItem_Sample {
pub input: Vec<EvalRunOutputItem_Sample_Input>,
pub output: Vec<EvalRunOutputItem_Sample_Output>,
pub finish_reason: String,
pub model: String,
pub usage: EvalRunOutputItem_Sample_Usage,
pub error: EvalApiError,
pub temperature: f64,
pub max_completion_tokens: i64,
pub top_p: f64,
pub seed: i64,
}
Expand description
A sample containing the input and output of the evaluation run.
Fields§
§input: Vec<EvalRunOutputItem_Sample_Input>
An array of input messages.
output: Vec<EvalRunOutputItem_Sample_Output>
An array of output messages.
finish_reason: String
The reason why the sample generation was finished.
model: String
The model used for generating the sample.
usage: EvalRunOutputItem_Sample_Usage
§error: EvalApiError
§temperature: f64
The sampling temperature used.
max_completion_tokens: i64
The maximum number of tokens allowed for completion.
top_p: f64
The top_p value used for sampling.
seed: i64
The seed used for generating the sample.
Trait Implementations§
Source§impl Clone for EvalRunOutputItem_Sample
impl Clone for EvalRunOutputItem_Sample
Source§fn clone(&self) -> EvalRunOutputItem_Sample
fn clone(&self) -> EvalRunOutputItem_Sample
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 moreAuto Trait Implementations§
impl Freeze for EvalRunOutputItem_Sample
impl RefUnwindSafe for EvalRunOutputItem_Sample
impl Send for EvalRunOutputItem_Sample
impl Sync for EvalRunOutputItem_Sample
impl Unpin for EvalRunOutputItem_Sample
impl UnwindSafe for EvalRunOutputItem_Sample
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