ConversationConfig constructor

const ConversationConfig({
  1. Message? systemMessage,
  2. List<Message> initialMessages = const [],
  3. List<Tool> tools = const [],
  4. Map<String, Object?> extraContext = const {},
  5. SamplerConfig? samplerConfig,
  6. String? loraPath,
  7. String? audioLoraPath,
  8. bool automaticToolCalling = true,
  9. bool enableConstrainedDecoding = false,
})

Creates a conversation configuration.

Implementation

const ConversationConfig({
  this.systemMessage,
  this.initialMessages = const [],
  this.tools = const [],
  this.extraContext = const {},
  this.samplerConfig,
  this.loraPath,
  this.audioLoraPath,
  this.automaticToolCalling = true,
  this.enableConstrainedDecoding = false,
});