Skip to main content
Version: 0.10.0

Type Alias: LLMModel

LLMModel = object

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

Model configuration required to instantiate an LLM chat session.

Properties

modalities?

readonly optional modalities: readonly Modality[]

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

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


modelPath

readonly modelPath: string

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

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


preprocessorConfig?

readonly optional preprocessorConfig: LLMMediaPreprocessorConfig

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

Media preprocessor configuration.


tokenizerConfigPath

readonly tokenizerConfigPath: string

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

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


tokenizerPath

readonly tokenizerPath: string

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

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