AnthropicMessageRequest
Represents a request for an Anthropic message-based interaction.
This data class is used to configure the parameters for an Anthropic message request, including the model, messages, and additional settings for generation behavior.
Constructors
Types
Properties
The maximum number of tokens to generate in the response. Defaults to 2048.
A list of messages constituting the dialogue. Each message contains a role and corresponding content.
Whether responses should be returned as a stream. Defaults to false.
An optional list of system-level messages defining additional context or instructions.
The sampling temperature for adjusting randomness in generation. Higher values increase randomness.
An optional specification for tool selection during processing, which may define automatic, specific, or no tool usage.
An optional list of tools that the Anthropic model can utilize during processing.