Skip to content

LangfuseExperimentResultSinkOptions TCase,TOutput

NexusLabs.Foundry.Langfuse

LangfuseExperimentResultSinkOptions<TCase,TOutput> Class

Configures canonical item, run-evaluation, and decision score projection to Langfuse.

public sealed record LangfuseExperimentResultSinkOptions<TCase,TOutput> : System.IEquatable<NexusLabs.Foundry.Langfuse.LangfuseExperimentResultSinkOptions<TCase, TOutput>>

Type parameters

TCase

The caller-owned case value type.

TOutput

The caller-owned output type.

Inheritance System.Object 🡒 LangfuseExperimentResultSinkOptions\<TCase,TOutput>

Implements System.IEquatable<NexusLabs.Foundry.Langfuse.LangfuseExperimentResultSinkOptions<TCase,TOutput>>

Properties

LangfuseExperimentResultSinkOptions<TCase,TOutput>.DecisionScore Property

Gets optional categorical publication of the already-computed canonical run decision.

public NexusLabs.Foundry.Langfuse.LangfuseExperimentDecisionScoreOptions? DecisionScore { get; init; }

Property Value

LangfuseExperimentDecisionScoreOptions

LangfuseExperimentResultSinkOptions<TCase,TOutput>.IsRequired Property

Gets a value indicating whether sink failure is required for aggregate publication health.

public bool IsRequired { get; init; }

Property Value

System.Boolean

LangfuseExperimentResultSinkOptions<TCase,TOutput>.ItemScoreIdProvider Property

Gets an optional stable score-id callback for one item metric.

public System.Func<NexusLabs.Foundry.Evaluation.Experiments.ExperimentItemResult<TCase,TOutput>,Microsoft.Extensions.AI.Evaluation.EvaluationMetric,string?>? ItemScoreIdProvider { get; init; }

Property Value

System.Func<NexusLabs.Foundry.Evaluation.Experiments.ExperimentItemResult<TCase,TOutput>,Microsoft.Extensions.AI.Evaluation.EvaluationMetric,System.String>

LangfuseExperimentResultSinkOptions<TCase,TOutput>.Name Property

Gets the unique generic sink name.

public string Name { get; init; }

Property Value

System.String

LangfuseExperimentResultSinkOptions<TCase,TOutput>.RunEvaluationScoreIdProvider Property

Gets an optional stable score-id callback for one successful run-evaluation metric.

public System.Func<NexusLabs.Foundry.Evaluation.Experiments.ExperimentRunEvaluationResult,Microsoft.Extensions.AI.Evaluation.EvaluationMetric,string?>? RunEvaluationScoreIdProvider { get; init; }

Property Value

System.Func<NexusLabs.Foundry.Evaluation.Experiments.ExperimentRunEvaluationResult,Microsoft.Extensions.AI.Evaluation.EvaluationMetric,System.String>