Class TrajectoryResponse
- Namespace
- Emissary
- Assembly
- Emissary.dll
The recorded shape of one model response.
public sealed record TrajectoryResponse : IEquatable<TrajectoryResponse>
- Inheritance
-
TrajectoryResponse
- Implements
- Inherited Members
Constructors
TrajectoryResponse(IReadOnlyList<ContentBlock>, string, long, long, long, long)
The recorded shape of one model response.
public TrajectoryResponse(IReadOnlyList<ContentBlock> Content, string StopReason, long InputTokens, long OutputTokens, long CacheCreationInputTokens = 0, long CacheReadInputTokens = 0)
Parameters
ContentIReadOnlyList<ContentBlock>The assistant content blocks.
StopReasonstringThe wire stop reason.
InputTokenslongInput tokens for the call.
OutputTokenslongOutput tokens for the call.
CacheCreationInputTokenslongInput tokens written to the prompt cache.
CacheReadInputTokenslongInput tokens served from the prompt cache.
Properties
CacheCreationInputTokens
Input tokens written to the prompt cache.
public long CacheCreationInputTokens { get; init; }
Property Value
CacheReadInputTokens
Input tokens served from the prompt cache.
public long CacheReadInputTokens { get; init; }
Property Value
Content
The assistant content blocks.
public IReadOnlyList<ContentBlock> Content { get; init; }
Property Value
InputTokens
Input tokens for the call.
public long InputTokens { get; init; }
Property Value
OutputTokens
Output tokens for the call.
public long OutputTokens { get; init; }
Property Value
StopReason
The wire stop reason.
public string StopReason { get; init; }