pub struct CreateEvalCompletionsRunDataSource {
pub input_messages: Option<Value>,
pub model: Option<String>,
pub sampling_params: Option<CreateEvalCompletionsRunDataSourceSamplingParams>,
pub source: Value,
pub _type: String,
}
Fields§
§input_messages: Option<Value>
§model: Option<String>
The name of the model to use for generating completions (e.g. "o3-mini").
sampling_params: Option<CreateEvalCompletionsRunDataSourceSamplingParams>
§source: Value
§_type: String
The type of run data source. Always completions
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateEvalCompletionsRunDataSource
impl<'de> Deserialize<'de> for CreateEvalCompletionsRunDataSource
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 CreateEvalCompletionsRunDataSource
impl RefUnwindSafe for CreateEvalCompletionsRunDataSource
impl Send for CreateEvalCompletionsRunDataSource
impl Sync for CreateEvalCompletionsRunDataSource
impl Unpin for CreateEvalCompletionsRunDataSource
impl UnwindSafe for CreateEvalCompletionsRunDataSource
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