ChatMode constructor

ChatMode({
  1. required String systemPrompt,
  2. List<DataSource>? dataSources,
})

Creates a new instance of ChatMode with the provided systemPrompt and optional dataSources.

Implementation

ChatMode({required this.systemPrompt, this.dataSources});