langfuse-client-base 0.13.0

Auto-generated Langfuse API client from OpenAPI specification
Documentation
/*
 * langfuse
 *
 * ## Authentication  Authenticate with the API using [Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication), get API keys in the project settings:  - username: Langfuse Public Key - password: Langfuse Secret Key  ## Exports  - OpenAPI spec: https://cloud.langfuse.com/generated/api/openapi.yml
 *
 * The version of the OpenAPI document:
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// UnstablePublicEvaluatorOutputDefinition : Evaluator output definition returned by the public API.  This response always includes `dataType` and never includes an internal output-definition `version`. Legacy stored evaluator definitions are normalized into this shape before they are returned.  Use this response shape when deciding how to interpret future evaluation scores: - `NUMERIC`: expect numeric score values - `BOOLEAN`: expect `true` / `false` - `CATEGORICAL`: expect one or more values from `score.categories`
/// Evaluator output definition returned by the public API.  This response always includes `dataType` and never includes an internal output-definition `version`. Legacy stored evaluator definitions are normalized into this shape before they are returned.  Use this response shape when deciding how to interpret future evaluation scores: - `NUMERIC`: expect numeric score values - `BOOLEAN`: expect `true` / `false` - `CATEGORICAL`: expect one or more values from `score.categories`
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum UnstablePublicEvaluatorOutputDefinition {
    UnstableEvaluatorOutputDefinitionOneOf(Box<models::UnstableEvaluatorOutputDefinitionOneOf>),
    UnstableEvaluatorOutputDefinitionOneOf1(Box<models::UnstableEvaluatorOutputDefinitionOneOf1>),
    UnstableEvaluatorOutputDefinitionOneOf2(Box<models::UnstableEvaluatorOutputDefinitionOneOf2>),
}

impl Default for UnstablePublicEvaluatorOutputDefinition {
    fn default() -> Self {
        Self::UnstableEvaluatorOutputDefinitionOneOf(Default::default())
    }
}