LangfuseExperimentRunPublicationSnapshot
NexusLabs.Foundry.Langfuse¶
LangfuseExperimentRunPublicationSnapshot Class¶
Provides an immutable snapshot of direct REST publication observed by one experiment run.
public sealed record LangfuseExperimentRunPublicationSnapshot : System.IEquatable<NexusLabs.Foundry.Langfuse.LangfuseExperimentRunPublicationSnapshot>
Inheritance System.Object 🡒 LangfuseExperimentRunPublicationSnapshot
Implements System.IEquatable<LangfuseExperimentRunPublicationSnapshot>
Remarks¶
The snapshot covers item-link and dataset-run score API calls made through this run instance. It does not verify that OpenTelemetry traces were durably ingested by Langfuse.
Constructors¶
LangfuseExperimentRunPublicationSnapshot(LangfuseDatasetRunIdentityStatus, string, int, LangfuseExperimentItemLinkCounts, LangfuseExperimentScoreCounts, LangfuseExperimentApiPublicationStatus) Constructor¶
Initializes a publication snapshot.
public LangfuseExperimentRunPublicationSnapshot(NexusLabs.Foundry.Langfuse.LangfuseDatasetRunIdentityStatus identityStatus, string? datasetRunId, int operationsInFlight, NexusLabs.Foundry.Langfuse.LangfuseExperimentItemLinkCounts itemLinks, NexusLabs.Foundry.Langfuse.LangfuseExperimentScoreCounts runScores, NexusLabs.Foundry.Langfuse.LangfuseExperimentApiPublicationStatus apiPublicationStatus);
Parameters¶
identityStatus LangfuseDatasetRunIdentityStatus
The aggregate dataset-run identity status.
datasetRunId System.String
The authoritative dataset-run id, when available.
operationsInFlight System.Int32
The number of public run operations still in progress.
itemLinks LangfuseExperimentItemLinkCounts
The item-link outcome counts.
runScores LangfuseExperimentScoreCounts
The run-score outcome counts.
apiPublicationStatus LangfuseExperimentApiPublicationStatus
The aggregate direct API publication status.
Properties¶
LangfuseExperimentRunPublicationSnapshot.ApiPublicationStatus Property¶
Gets the aggregate direct API publication status.
public NexusLabs.Foundry.Langfuse.LangfuseExperimentApiPublicationStatus ApiPublicationStatus { get; }
Property Value¶
LangfuseExperimentApiPublicationStatus
LangfuseExperimentRunPublicationSnapshot.DatasetRunId Property¶
Gets the authoritative dataset-run id, when resolved and consistent.
Property Value¶
LangfuseExperimentRunPublicationSnapshot.IdentityStatus Property¶
Gets the aggregate dataset-run identity status.
Property Value¶
LangfuseDatasetRunIdentityStatus
LangfuseExperimentRunPublicationSnapshot.ItemLinks Property¶
Gets item-link outcome counts.
Property Value¶
LangfuseExperimentItemLinkCounts
LangfuseExperimentRunPublicationSnapshot.OperationsInFlight Property¶
Gets the number of public run operations currently awaiting completion.
Property Value¶
LangfuseExperimentRunPublicationSnapshot.RunScores Property¶
Gets dataset-run score outcome counts.