pub struct GenaiGetModelEvaluationRunResponseResultsItem {
pub candidate_model_name: Option<String>,
pub candidate_model_uuid: Option<String>,
pub candidate_routed_task: Option<String>,
pub ground_truth: Option<String>,
pub input: Option<String>,
pub metric_results: Vec<Map<String, Value>>,
pub output: Option<String>,
}Expand description
Result for a single prompt in a model evaluation run.
JSON schema
{
"description": "Result for a single prompt in a model evaluation run.",
"type": "object",
"properties": {
"candidate_model_name": {
"examples": [
"example name"
],
"type": "string"
},
"candidate_model_uuid": {
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": "string"
},
"candidate_routed_task": {
"examples": [
"Coding & brainstorming"
],
"type": "string"
},
"ground_truth": {
"examples": [
"example string"
],
"type": "string"
},
"input": {
"description": "The input query sent to the candidate model.",
"examples": [
"example string"
],
"type": "string"
},
"metric_results": {
"description": "Per-metric scores and judge reasoning for this prompt.",
"type": "array",
"items": {
"description": "Auto-generated fallback definition for: apiEvaluationMetricResult",
"type": "object",
"additionalProperties": true
}
},
"output": {
"description": "The response from the candidate model.",
"examples": [
"example string"
],
"type": "string"
}
}
}Fields§
§candidate_model_name: Option<String>§candidate_model_uuid: Option<String>§candidate_routed_task: Option<String>§ground_truth: Option<String>§input: Option<String>The input query sent to the candidate model.
metric_results: Vec<Map<String, Value>>Per-metric scores and judge reasoning for this prompt.
output: Option<String>The response from the candidate model.
Trait Implementations§
Source§impl Clone for GenaiGetModelEvaluationRunResponseResultsItem
impl Clone for GenaiGetModelEvaluationRunResponseResultsItem
Source§fn clone(&self) -> GenaiGetModelEvaluationRunResponseResultsItem
fn clone(&self) -> GenaiGetModelEvaluationRunResponseResultsItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GenaiGetModelEvaluationRunResponseResultsItem
impl<'de> Deserialize<'de> for GenaiGetModelEvaluationRunResponseResultsItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GenaiGetModelEvaluationRunResponseResultsItem> for GenaiGetModelEvaluationRunResponseResultsItem
impl From<&GenaiGetModelEvaluationRunResponseResultsItem> for GenaiGetModelEvaluationRunResponseResultsItem
Source§fn from(value: &GenaiGetModelEvaluationRunResponseResultsItem) -> Self
fn from(value: &GenaiGetModelEvaluationRunResponseResultsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenaiGetModelEvaluationRunResponseResultsItem
impl RefUnwindSafe for GenaiGetModelEvaluationRunResponseResultsItem
impl Send for GenaiGetModelEvaluationRunResponseResultsItem
impl Sync for GenaiGetModelEvaluationRunResponseResultsItem
impl Unpin for GenaiGetModelEvaluationRunResponseResultsItem
impl UnsafeUnpin for GenaiGetModelEvaluationRunResponseResultsItem
impl UnwindSafe for GenaiGetModelEvaluationRunResponseResultsItem
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