ILangfuseScoreConfigClient
NexusLabs.Needlr.AgentFramework.Langfuse¶
ILangfuseScoreConfigClient Interface¶
Idempotently registers Langfuse score configs so eval scores appear on the dashboard with defined data types, ranges, and category sets.
Properties¶
ILangfuseScoreConfigClient.IsEnabled Property¶
Gets a value indicating whether score configs are being created. false when Langfuse is not configured, in which case EnsureScoreConfigAsync(LangfuseScoreConfig, CancellationToken) is a no-op.
Property Value¶
Methods¶
ILangfuseScoreConfigClient.EnsureScoreConfigAsync(LangfuseScoreConfig, CancellationToken) Method¶
Ensures a score config with the given name exists, creating it only when absent. Safe to call on every run.
System.Threading.Tasks.Task EnsureScoreConfigAsync(NexusLabs.Needlr.AgentFramework.Langfuse.LangfuseScoreConfig config, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters¶
config LangfuseScoreConfig
The score config to ensure.
cancellationToken System.Threading.CancellationToken
A cancellation token.
Returns¶
System.Threading.Tasks.Task
A task that completes when the config exists in Langfuse.