Skip to content

LangfuseExperimentItemOptions

NexusLabs.Foundry.Langfuse

LangfuseExperimentItemOptions Class

Configures the scenario and dataset-link behavior for one experiment item execution.

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

Inheritance System.Object 🡒 LangfuseExperimentItemOptions

Implements System.IEquatable<LangfuseExperimentItemOptions>

Properties

LangfuseExperimentItemOptions.LinkFailureMode Property

Gets or sets the behavior when Langfuse cannot link the item trace to the dataset run.

public NexusLabs.Foundry.Langfuse.LangfuseExperimentItemLinkFailureMode LinkFailureMode { get; init; }

Property Value

LangfuseExperimentItemLinkFailureMode

LangfuseExperimentItemOptions.Metadata Property

Gets or sets optional filterable metadata applied to the item trace.

public System.Collections.Generic.IReadOnlyDictionary<string,string>? Metadata { get; init; }

Property Value

System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>

LangfuseExperimentItemOptions.ScenarioName Property

Gets or sets the trace name. When omitted or whitespace, a name is derived from the dataset and item identifiers.

public string? ScenarioName { get; init; }

Property Value

System.String

LangfuseExperimentItemOptions.Tags Property

Gets or sets optional tags applied to the item trace.

public System.Collections.Generic.IEnumerable<string>? Tags { get; init; }

Property Value

System.Collections.Generic.IEnumerable<System.String>