pub struct CreateEvalCustomDataSourceConfig {
pub type: String,
pub item_schema: CreateEvalCustomDataSourceConfig_ItemSchema,
pub include_sample_schema: bool,
}Expand description
A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs.
Fields§
§type: StringThe type of data source.
item_schema: CreateEvalCustomDataSourceConfig_ItemSchemaThe json schema for each row in the data source.
include_sample_schema: boolWhether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)
Trait Implementations§
Source§impl Clone for CreateEvalCustomDataSourceConfig
impl Clone for CreateEvalCustomDataSourceConfig
Source§fn clone(&self) -> CreateEvalCustomDataSourceConfig
fn clone(&self) -> CreateEvalCustomDataSourceConfig
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 CreateEvalCustomDataSourceConfig
impl RefUnwindSafe for CreateEvalCustomDataSourceConfig
impl Send for CreateEvalCustomDataSourceConfig
impl Sync for CreateEvalCustomDataSourceConfig
impl Unpin for CreateEvalCustomDataSourceConfig
impl UnwindSafe for CreateEvalCustomDataSourceConfig
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