< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Langfuse.LangfuseCreateDatasetRunItemRequest
Assembly: NexusLabs.Needlr.AgentFramework.Langfuse
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Langfuse/LangfuseCreateDatasetRunItemRequest.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 24
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_RunName()100%11100%
get_RunDescription()100%11100%
get_DatasetItemId()100%11100%
get_TraceId()100%11100%
get_ObservationId()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Langfuse/LangfuseCreateDatasetRunItemRequest.cs

#LineLine coverage
 1namespace NexusLabs.Needlr.AgentFramework.Langfuse;
 2
 3/// <summary>
 4/// Serializable payload for <c>POST /api/public/dataset-run-items</c>, the join that links a trace
 5/// to a dataset item within a named run. Property names are projected to camelCase by
 6/// <see cref="LangfuseApiClient"/>.
 7/// </summary>
 8internal sealed record LangfuseCreateDatasetRunItemRequest
 9{
 10    /// <summary>Gets the run name. Langfuse creates the run on first use.</summary>
 411    public required string RunName { get; init; }
 12
 13    /// <summary>Gets the optional run description (updates the run if it already exists).</summary>
 414    public string? RunDescription { get; init; }
 15
 16    /// <summary>Gets the id of the dataset item being evaluated.</summary>
 417    public required string DatasetItemId { get; init; }
 18
 19    /// <summary>Gets the id of the trace produced while evaluating the item.</summary>
 420    public required string TraceId { get; init; }
 21
 22    /// <summary>Gets the optional id of a specific observation within the trace.</summary>
 223    public string? ObservationId { get; init; }
 24}