LangfuseScoreError
NexusLabs.Needlr.AgentFramework.Langfuse¶
LangfuseScoreError Class¶
Describes a single failed attempt to upload an evaluation score to Langfuse. Passed to ScoreErrorCallback when NonFatal is in effect, so callers can log the loss with their own logger.
public sealed record LangfuseScoreError : System.IEquatable<NexusLabs.Needlr.AgentFramework.Langfuse.LangfuseScoreError>
Inheritance System.Object 🡒 LangfuseScoreError
Implements System.IEquatable<LangfuseScoreError>
Constructors¶
LangfuseScoreError(string, string, Exception) Constructor¶
Describes a single failed attempt to upload an evaluation score to Langfuse. Passed to ScoreErrorCallback when NonFatal is in effect, so callers can log the loss with their own logger.
Parameters¶
ScoreName System.String
The name of the score that failed to upload.
TraceId System.String
The Langfuse trace id the score was destined for, if known.
Exception System.Exception
The exception describing the failure.
Properties¶
LangfuseScoreError.Exception Property¶
The exception describing the failure.
Property Value¶
LangfuseScoreError.ScoreName Property¶
The name of the score that failed to upload.
Property Value¶
LangfuseScoreError.TraceId Property¶
The Langfuse trace id the score was destined for, if known.