CreateMessageRequest constructor
CreateMessageRequest({
- required List<
Message> messages, - ModelPreferences? modelPreferences,
- String? systemPrompt,
- String? includeContext,
- int? maxTokens,
- double? temperature,
- List<
String> ? stopSequences, - Map<
String, dynamic> ? metadata, - List<
SamplingTool> ? tools, - ToolChoice? toolChoice,
Implementation
CreateMessageRequest({
required this.messages,
this.modelPreferences,
this.systemPrompt,
this.includeContext,
this.maxTokens,
this.temperature,
this.stopSequences,
this.metadata,
this.tools,
this.toolChoice,
});