pub struct BooleanScoreV1 {Show 16 fields
pub id: String,
pub trace_id: String,
pub name: String,
pub source: ScoreSource,
pub observation_id: Option<Option<String>>,
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,
pub string_value: String,
}Fields§
§id: String§trace_id: String§name: String§source: ScoreSource§observation_id: Option<Option<String>>The observation ID associated with the score
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. Equals 1 for "True" and 0 for "False"
string_value: StringThe string representation of the score value. Is inferred from the numeric value and equals "True" or "False"
Implementations§
Source§impl BooleanScoreV1
impl BooleanScoreV1
Sourcepub fn builder() -> BooleanScoreV1Builder
pub fn builder() -> BooleanScoreV1Builder
Create an instance of BooleanScoreV1 using the builder syntax