pub struct NumericScore {Show 17 fields
pub id: String,
pub trace_id: Option<Option<String>>,
pub session_id: Option<Option<String>>,
pub observation_id: Option<Option<String>>,
pub dataset_run_id: Option<Option<String>>,
pub name: String,
pub source: ScoreSource,
pub timestamp: DateTime<FixedOffset>,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
pub author_user_id: Option<String>,
pub comment: Option<String>,
pub metadata: HashMap<String, Value>,
pub config_id: Option<String>,
pub queue_id: Option<String>,
pub environment: String,
pub value: f64,
}Fields§
§id: String§trace_id: Option<Option<String>>The trace ID associated with the score
session_id: Option<Option<String>>The session ID associated with the score
observation_id: Option<Option<String>>The observation ID associated with the score
dataset_run_id: Option<Option<String>>The dataset run ID associated with the score
name: String§source: ScoreSource§timestamp: DateTime<FixedOffset>§created_at: DateTime<FixedOffset>§updated_at: DateTime<FixedOffset>The user ID of the author
comment: Option<String>Comment on the score
metadata: HashMap<String, Value>Metadata associated with the score
config_id: Option<String>Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range
queue_id: Option<String>The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.
environment: StringThe environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with ‘langfuse’.
value: f64The numeric value of the score
Implementations§
Source§impl NumericScore
impl NumericScore
Sourcepub fn builder() -> NumericScoreBuilder
pub fn builder() -> NumericScoreBuilder
Create an instance of NumericScore using the builder syntax