pub struct CreateEvalCustomDataSourceConfig {
pub type: String,
pub item_schema: CreateEvalCustomDataSourceConfig_ItemSchema,
pub include_sample_schema: Option<bool>,
}
Expand description
A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs.
Fields§
§type: String
The type of data source.
item_schema: CreateEvalCustomDataSourceConfig_ItemSchema
The json schema for each row in the data source.
include_sample_schema: Option<bool>
Whether 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 moreSource§impl Default for CreateEvalCustomDataSourceConfig
impl Default for CreateEvalCustomDataSourceConfig
Source§fn default() -> CreateEvalCustomDataSourceConfig
fn default() -> CreateEvalCustomDataSourceConfig
Returns the “default value” for a type. Read more
Auto 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