createConversation method
void
createConversation({})
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,
}) {
throw UnsupportedError('LiteRT-LM runtime requires a native platform.');
}