CreateMessageRequestParams constructor

CreateMessageRequestParams({
  1. required List<SamplingMessage> messages,
  2. ModelPreferences? modelPreferences,
  3. String? systemPrompt,
  4. String? includeContext,
  5. num? temperature,
  6. required int maxTokens,
  7. List<String>? stopSequences,
  8. Map<String, Object?>? metadata,
  9. List<Tool>? tools,
  10. 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,
});