Type Alias: LLMModel
LLMModel =
object
Defined in: extensions/llm/tasks/llmChatSession.ts:35
Model configuration required to instantiate an LLM chat session.
Properties
modalities?
readonlyoptionalmodalities: readonlyModality[]
Defined in: extensions/llm/tasks/llmChatSession.ts:43
Supported input non-text modalities (e.g. ['image']).
modelPath
readonlymodelPath:ModelSource
Defined in: extensions/llm/tasks/llmChatSession.ts:37
Local/remote program path, program with data paths, or callback readers.
preprocessorConfig?
readonlyoptionalpreprocessorConfig:LLMMediaPreprocessorConfig
Defined in: extensions/llm/tasks/llmChatSession.ts:45
Media preprocessor configuration.
tokenizerConfigPath
readonlytokenizerConfigPath:string
Defined in: extensions/llm/tasks/llmChatSession.ts:41
Local path or remote URL of the tokenizer_config.json file.
tokenizerPath
readonlytokenizerPath:string
Defined in: extensions/llm/tasks/llmChatSession.ts:39
Local path or remote URL of the tokenizer.json file.