ConversationConfig constructor

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

Creates a conversation configuration.

Implementation

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