pub enum CreateEvalDataSourceConfig {
Custom(CreateEvalCustomDataSourceConfig),
Logs(CreateEvalLogsDataSourceConfig),
}Variants§
Custom(CreateEvalCustomDataSourceConfig)
A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs. This schema is used to define the shape of the data that will be:
- Used to define your testing criteria and
- What data is required when creating a run
Logs(CreateEvalLogsDataSourceConfig)
A data source config which specifies the metadata property of your logs query.
This is usually metadata like usecase=chatbot or prompt-version=v2, etc.
Trait Implementations§
Source§impl Clone for CreateEvalDataSourceConfig
impl Clone for CreateEvalDataSourceConfig
Source§fn clone(&self) -> CreateEvalDataSourceConfig
fn clone(&self) -> CreateEvalDataSourceConfig
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 Debug for CreateEvalDataSourceConfig
impl Debug for CreateEvalDataSourceConfig
Source§impl Default for CreateEvalDataSourceConfig
impl Default for CreateEvalDataSourceConfig
impl StructuralPartialEq for CreateEvalDataSourceConfig
Auto Trait Implementations§
impl Freeze for CreateEvalDataSourceConfig
impl RefUnwindSafe for CreateEvalDataSourceConfig
impl Send for CreateEvalDataSourceConfig
impl Sync for CreateEvalDataSourceConfig
impl Unpin for CreateEvalDataSourceConfig
impl UnwindSafe for CreateEvalDataSourceConfig
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