pub struct CreateEvalCompletionsRunDataSource {
pub type: String,
pub input_messages: Option<CreateEvalCompletionsRunDataSource_InputMessages>,
pub sampling_params: Option<CreateEvalCompletionsRunDataSource_SamplingParams>,
pub model: Option<String>,
pub source: CreateEvalCompletionsRunDataSource_Source,
}
Expand description
A CompletionsRunDataSource object describing a model sampling configuration.
Fields§
§type: String
The type of run data source.
input_messages: Option<CreateEvalCompletionsRunDataSource_InputMessages>
§sampling_params: Option<CreateEvalCompletionsRunDataSource_SamplingParams>
§model: Option<String>
The name of the model to use for generating completions (e.g.
source: CreateEvalCompletionsRunDataSource_Source
Trait Implementations§
Source§impl Clone for CreateEvalCompletionsRunDataSource
impl Clone for CreateEvalCompletionsRunDataSource
Source§fn clone(&self) -> CreateEvalCompletionsRunDataSource
fn clone(&self) -> CreateEvalCompletionsRunDataSource
Returns a copy 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 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