createLLMChatSession(
config,options?,runtime?):Promise<LLMChatSession>
Defined in: extensions/llm/tasks/llmChatSession.ts:175
Instantiates an LLM chat session using background thread execution.
Model configuration containing model, tokenizer, and tokenizer config paths.
Custom generation, tool calling, and state options.
WorkletRuntime
The worklet runtime thread to run native generation on.
Promise<LLMChatSession>
A promise resolving to the instantiated LLMChatSession session.