pub enum UnstableEvaluationRuleMappingSource {
Input,
Output,
Metadata,
ExpectedOutput,
}Expand description
UnstableEvaluationRuleMappingSource : Source field used to populate a prompt variable. Use these values when mapping evaluator prompt variables to live data. Target-specific rules: - target=observation supports input, output, and metadata - target=experiment supports input, output, metadata, and expected_output Source semantics: - input: the observation or experiment input payload - output: the observation or experiment output payload - metadata: the metadata object for the target. Combine with jsonPath when you need one nested field instead of the whole object. - expected_output: the experiment item’s expected output. Only valid for target=experiment.
Source field used to populate a prompt variable. Use these values when mapping evaluator prompt variables to live data. Target-specific rules: - target=observation supports input, output, and metadata - target=experiment supports input, output, metadata, and expected_output Source semantics: - input: the observation or experiment input payload - output: the observation or experiment output payload - metadata: the metadata object for the target. Combine with jsonPath when you need one nested field instead of the whole object. - expected_output: the experiment item’s expected output. Only valid for target=experiment.
Variants§
Trait Implementations§
Source§impl Clone for UnstableEvaluationRuleMappingSource
impl Clone for UnstableEvaluationRuleMappingSource
Source§fn clone(&self) -> UnstableEvaluationRuleMappingSource
fn clone(&self) -> UnstableEvaluationRuleMappingSource
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more