Table of Contents

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

Content IReadOnlyList<ContentBlock>

The assistant content blocks.

StopReason string

The wire stop reason.

InputTokens long

Input tokens for the call.

OutputTokens long

Output tokens for the call.

CacheCreationInputTokens long

Input tokens written to the prompt cache.

CacheReadInputTokens long

Input tokens served from the prompt cache.

Properties

CacheCreationInputTokens

Input tokens written to the prompt cache.

public long CacheCreationInputTokens { get; init; }

Property Value

long

CacheReadInputTokens

Input tokens served from the prompt cache.

public long CacheReadInputTokens { get; init; }

Property Value

long

Content

The assistant content blocks.

public IReadOnlyList<ContentBlock> Content { get; init; }

Property Value

IReadOnlyList<ContentBlock>

InputTokens

Input tokens for the call.

public long InputTokens { get; init; }

Property Value

long

OutputTokens

Output tokens for the call.

public long OutputTokens { get; init; }

Property Value

long

StopReason

The wire stop reason.

public string StopReason { get; init; }

Property Value

string