Skip to main content
Version: Next

Type Alias: LLMModel

LLMModel = object

Defined in: extensions/llm/tasks/llmChatSession.ts:34

Model configuration required to instantiate an LLM chat session.

Properties​

modalities?​

readonly optional modalities: readonly Modality[]

Defined in: extensions/llm/tasks/llmChatSession.ts:42

Supported input non-text modalities (e.g. ['image']).


modelPath​

readonly modelPath: string

Defined in: extensions/llm/tasks/llmChatSession.ts:36

Local path or remote URL of the .pte model file.


preprocessorConfig?​

readonly optional preprocessorConfig: LLMMediaPreprocessorConfig

Defined in: extensions/llm/tasks/llmChatSession.ts:44

Media preprocessor configuration.


tokenizerConfigPath​

readonly tokenizerConfigPath: string

Defined in: extensions/llm/tasks/llmChatSession.ts:40

Local path or remote URL of the tokenizer_config.json file.


tokenizerPath​

readonly tokenizerPath: string

Defined in: extensions/llm/tasks/llmChatSession.ts:38

Local path or remote URL of the tokenizer.json file.