Skip to content

LangfuseScoreConfigCategory

NexusLabs.Needlr.AgentFramework.Langfuse

LangfuseScoreConfigCategory Class

One allowed category for a Categorical score config.

public sealed record LangfuseScoreConfigCategory : System.IEquatable<NexusLabs.Needlr.AgentFramework.Langfuse.LangfuseScoreConfigCategory>

Inheritance System.Object 🡒 LangfuseScoreConfigCategory

Implements System.IEquatable<LangfuseScoreConfigCategory>

Constructors

LangfuseScoreConfigCategory(string, double) Constructor

One allowed category for a Categorical score config.

public LangfuseScoreConfigCategory(string Label, double Value);

Parameters

Label System.String

The human-readable label shown in Langfuse.

Value System.Double

The numeric value the label maps to.

Properties

LangfuseScoreConfigCategory.Label Property

The human-readable label shown in Langfuse.

public string Label { get; init; }

Property Value

System.String

LangfuseScoreConfigCategory.Value Property

The numeric value the label maps to.

public double Value { get; init; }

Property Value

System.Double