createConversation method
void
createConversation({
- String? systemMessage,
- String? promptTemplate,
- List<
Map< ? messages,String, dynamic> > - List<
Map< ? tools,String, dynamic> > - Map<
String, dynamic> ? extraContext, - double temperature = 0.8,
- int topK = 40,
- double topP = 0.95,
- int seed = 1,
- bool npuBackend = false,
- String? loraPath,
- bool jsonSchemaConstraints = false,
Creates a conversation for generation/token operations.
Implementation
void createConversation({
String? systemMessage,
String? promptTemplate,
List<Map<String, dynamic>>? messages,
List<Map<String, dynamic>>? tools,
Map<String, dynamic>? extraContext,
double temperature = 0.8,
int topK = 40,
double topP = 0.95,
int seed = 1,
bool npuBackend = false,
String? loraPath,
bool jsonSchemaConstraints = false,
}) {
throw UnsupportedError('LiteRT-LM runtime requires a native platform.');
}