pub struct EvalRunOutputItemSample {
pub error: EvalApiError,
pub finish_reason: String,
pub input: Vec<EvalRunOutputItemSampleInput>,
pub max_completion_tokens: i32,
pub model: String,
pub output: Vec<EvalRunOutputItemSampleOutput>,
pub seed: i32,
pub temperature: f32,
pub top_p: f32,
pub usage: EvalRunOutputItemSampleUsage,
}
Fields§
§error: EvalApiError
§finish_reason: String
The reason why the sample generation was finished.
input: Vec<EvalRunOutputItemSampleInput>
An array of input messages.
max_completion_tokens: i32
The maximum number of tokens allowed for completion.
model: String
The model used for generating the sample.
output: Vec<EvalRunOutputItemSampleOutput>
An array of output messages.
seed: i32
The seed used for generating the sample.
temperature: f32
The sampling temperature used.
top_p: f32
The top_p value used for sampling.
usage: EvalRunOutputItemSampleUsage
Trait Implementations§
Source§impl Debug for EvalRunOutputItemSample
impl Debug for EvalRunOutputItemSample
Source§impl<'de> Deserialize<'de> for EvalRunOutputItemSample
impl<'de> Deserialize<'de> for EvalRunOutputItemSample
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 EvalRunOutputItemSample
impl RefUnwindSafe for EvalRunOutputItemSample
impl Send for EvalRunOutputItemSample
impl Sync for EvalRunOutputItemSample
impl Unpin for EvalRunOutputItemSample
impl UnwindSafe for EvalRunOutputItemSample
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