Skip to content

LangfuseExperimentRunScoreResult

NexusLabs.Foundry.Langfuse

LangfuseExperimentRunScoreResult Class

Describes the publication outcome for one score against a Langfuse dataset run.

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

Inheritance System.Object 🡒 LangfuseExperimentRunScoreResult

Implements System.IEquatable<LangfuseExperimentRunScoreResult>

Constructors

LangfuseExperimentRunScoreResult(string, string, LangfuseExperimentScoreStatus, string, LangfusePublicationFailure) Constructor

Initializes a dataset-run score result.

public LangfuseExperimentRunScoreResult(string? scoreId, string name, NexusLabs.Foundry.Langfuse.LangfuseExperimentScoreStatus status, string? datasetRunId, NexusLabs.Foundry.Langfuse.LangfusePublicationFailure? failure);

Parameters

scoreId System.String

The caller-supplied Langfuse score id, when present.

name System.String

The score name.

status LangfuseExperimentScoreStatus

The publication status.

datasetRunId System.String

The target dataset-run id, when available.

failure LangfusePublicationFailure

The structured publication failure, when present.

Properties

LangfuseExperimentRunScoreResult.DatasetRunId Property

Gets the target dataset-run id, when available.

public string? DatasetRunId { get; }

Property Value

System.String

LangfuseExperimentRunScoreResult.Failure Property

Gets the structured publication failure, when present.

public NexusLabs.Foundry.Langfuse.LangfusePublicationFailure? Failure { get; }

Property Value

LangfusePublicationFailure

LangfuseExperimentRunScoreResult.Name Property

Gets the score name.

public string Name { get; }

Property Value

System.String

LangfuseExperimentRunScoreResult.ScoreId Property

Gets the caller-supplied Langfuse score id, when present.

public string? ScoreId { get; }

Property Value

System.String

LangfuseExperimentRunScoreResult.Status Property

Gets the publication status.

public NexusLabs.Foundry.Langfuse.LangfuseExperimentScoreStatus Status { get; }

Property Value

LangfuseExperimentScoreStatus