CreateMessageRequestParams constructor
CreateMessageRequestParams({
- required List<
SamplingMessage> messages, - ModelPreferences? modelPreferences,
- String? systemPrompt,
- String? includeContext,
- num? temperature,
- required int maxTokens,
- List<
String> ? stopSequences, - Map<
String, Object?> ? metadata, - List<
Tool> ? tools, - ToolChoice? toolChoice,
Implementation
CreateMessageRequestParams({
required this.messages,
this.modelPreferences,
this.systemPrompt,
this.includeContext,
this.temperature,
required this.maxTokens,
this.stopSequences,
this.metadata,
this.tools,
this.toolChoice,
});