Class TrajectoryRequest
- Namespace
- Emissary
- Assembly
- Emissary.dll
The recorded shape of one model request.
public sealed record TrajectoryRequest : IEquatable<TrajectoryRequest>
- Inheritance
-
TrajectoryRequest
- Implements
- Inherited Members
Constructors
TrajectoryRequest(string, string?, int, ThinkingMode, EffortLevel?, string?, IReadOnlyList<Message>, IReadOnlyList<string>)
The recorded shape of one model request.
public TrajectoryRequest(string Model, string? System, int MaxTokens, ThinkingMode Thinking, EffortLevel? Effort, string? OutputSchemaJson, IReadOnlyList<Message> Messages, IReadOnlyList<string> ToolNames)
Parameters
ModelstringThe model id.
SystemstringThe system prompt, if any.
MaxTokensintThe output token limit.
ThinkingThinkingModeThe thinking mode.
EffortEffortLevel?The effort level, if set.
OutputSchemaJsonstringThe structured-output schema, if set.
MessagesIReadOnlyList<Message>The conversation sent.
ToolNamesIReadOnlyList<string>The wire names of the tools offered.
Properties
Effort
The effort level, if set.
public EffortLevel? Effort { get; init; }
Property Value
MaxTokens
The output token limit.
public int MaxTokens { get; init; }
Property Value
Messages
The conversation sent.
public IReadOnlyList<Message> Messages { get; init; }
Property Value
Model
The model id.
public string Model { get; init; }
Property Value
OutputSchemaJson
The structured-output schema, if set.
public string? OutputSchemaJson { get; init; }
Property Value
System
The system prompt, if any.
public string? System { get; init; }
Property Value
Thinking
The thinking mode.
public ThinkingMode Thinking { get; init; }
Property Value
ToolNames
The wire names of the tools offered.
public IReadOnlyList<string> ToolNames { get; init; }