Type Alias: LLMModel
LLMModel =
object
Defined in: extensions/llm/tasks/llmChatSession.ts:34
Model configuration required to instantiate an LLM chat session.
Properties
modalities?
readonlyoptionalmodalities: readonlyModality[]
Defined in: extensions/llm/tasks/llmChatSession.ts:42
Supported input non-text modalities (e.g. ['image']).
modelPath
readonlymodelPath:string
Defined in: extensions/llm/tasks/llmChatSession.ts:36
Local path or remote URL of the .pte model file.
preprocessorConfig?
readonlyoptionalpreprocessorConfig:LLMMediaPreprocessorConfig
Defined in: extensions/llm/tasks/llmChatSession.ts:44
Media preprocessor configuration.
tokenizerConfigPath
readonlytokenizerConfigPath:string
Defined in: extensions/llm/tasks/llmChatSession.ts:40
Local path or remote URL of the tokenizer_config.json file.
tokenizerPath
readonlytokenizerPath:string
Defined in: extensions/llm/tasks/llmChatSession.ts:38
Local path or remote URL of the tokenizer.json file.