Langfuse JS/TS SDKs
    Preparing search index...

    Interface CategoricalScoreV1

    interface CategoricalScoreV1 {
        authorUserId: string | null;
        comment: string | null;
        configId: string | null;
        createdAt: string;
        environment: string;
        id: string;
        metadata?: unknown;
        name: string;
        observationId?: string | null;
        queueId: string | null;
        source: ScoreSource;
        stringValue: string;
        timestamp: string;
        traceId: string;
        updatedAt: string;
        value: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    authorUserId: string | null

    The user ID of the author

    comment: string | null

    Comment on the score

    configId: string | null

    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

    createdAt: string
    environment: string

    The environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.

    id: string
    metadata?: unknown

    Metadata associated with the score

    name: string
    observationId?: string | null

    The observation ID associated with the score

    queueId: string | null

    The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.

    source: ScoreSource
    stringValue: string

    The string representation of the score value. If no config is linked, can be any string. Otherwise, must map to a config category

    timestamp: string
    traceId: string
    updatedAt: string
    value: number

    Represents the numeric category mapping of the stringValue. If no config is linked, defaults to 0.