Skip to content

LangfuseScoreOptions

NexusLabs.Foundry.Langfuse

LangfuseScoreOptions Class

Configures one score publication to Langfuse.

public sealed record LangfuseScoreOptions : System.IEquatable<NexusLabs.Foundry.Langfuse.LangfuseScoreOptions>

Inheritance System.Object 🡒 LangfuseScoreOptions

Implements System.IEquatable<LangfuseScoreOptions>

Properties

LangfuseScoreOptions.Comment Property

Gets or sets the optional free-text explanation attached to the score.

public string? Comment { get; set; }

Property Value

System.String

LangfuseScoreOptions.Id Property

Gets or sets the optional stable Langfuse score id.

public string? Id { get; set; }

Property Value

System.String

Remarks

Langfuse uses this value as an idempotency key together with the score name and its server-assigned UTC date. Repeating a complete score with the same id and name replaces it only when both requests fall on the same UTC date; a retry across that boundary can create another score.