pub struct CreateEvalResponsesRunDataSource {
pub input_messages: Option<EvalInputMessages>,
pub sampling_params: Option<EvalResponsesSamplingParams>,
pub model: Option<String>,
pub source: EvalResponsesRunSource,
}Expand description
Responses run data source.
Fields§
§input_messages: Option<EvalInputMessages>Used when sampling from a model. Dictates the structure of the messages passed into the model.
sampling_params: Option<EvalResponsesSamplingParams>The sampling parameters for the model.
model: Option<String>§source: EvalResponsesRunSourceDetermines what populates the item namespace in this run’s data source.
Trait Implementations§
Source§impl Clone for CreateEvalResponsesRunDataSource
impl Clone for CreateEvalResponsesRunDataSource
Source§fn clone(&self) -> CreateEvalResponsesRunDataSource
fn clone(&self) -> CreateEvalResponsesRunDataSource
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 CreateEvalResponsesRunDataSource
impl<'de> Deserialize<'de> for CreateEvalResponsesRunDataSource
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 CreateEvalResponsesRunDataSource
impl PartialEq for CreateEvalResponsesRunDataSource
Source§fn eq(&self, other: &CreateEvalResponsesRunDataSource) -> bool
fn eq(&self, other: &CreateEvalResponsesRunDataSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateEvalResponsesRunDataSource
Auto Trait Implementations§
impl Freeze for CreateEvalResponsesRunDataSource
impl RefUnwindSafe for CreateEvalResponsesRunDataSource
impl Send for CreateEvalResponsesRunDataSource
impl Sync for CreateEvalResponsesRunDataSource
impl Unpin for CreateEvalResponsesRunDataSource
impl UnwindSafe for CreateEvalResponsesRunDataSource
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