Langfuse JS/TS SDKs
    Preparing search index...

    Interface CreateScoreConfigRequest

    interface CreateScoreConfigRequest {
        categories?: ConfigCategory[];
        dataType: ScoreDataType;
        description?: string;
        maxValue?: number;
        minValue?: number;
        name: string;
    }
    Index

    Properties

    categories?: ConfigCategory[]

    Configure custom categories for categorical scores. Pass a list of objects with label and value properties. Categories are autogenerated for boolean configs and cannot be passed

    dataType: ScoreDataType
    description?: string

    Description is shown across the Langfuse UI and can be used to e.g. explain the config categories in detail, why a numeric range was set, or provide additional context on config name or usage

    maxValue?: number

    Configure a maximum value for numerical scores. If not set, the maximum value defaults to +∞

    minValue?: number

    Configure a minimum value for numerical scores. If not set, the minimum value defaults to -∞

    name: string