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: String,
pub created_at: String,
pub updated_at: String,
pub author_user_id: Option<Option<String>>,
pub comment: Option<Option<String>>,
pub metadata: Option<Value>,
pub config_id: Option<Option<String>>,
pub queue_id: Option<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: String§created_at: String§updated_at: StringThe user ID of the author
comment: Option<Option<String>>Comment on the score
metadata: Option<Value>Metadata associated with the score
config_id: Option<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<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
Trait Implementations§
Source§impl Clone for BooleanScoreV1
impl Clone for BooleanScoreV1
Source§fn clone(&self) -> BooleanScoreV1
fn clone(&self) -> BooleanScoreV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more