Optional
fields: ChatOllamaInputThe host URL of the Ollama server.
Whether or not to check the model exists on the local machine before
invoking it. If set to true
, the model will be pulled if it does not
exist.
The model to invoke. If the model does not exist, it will be pulled.
Optional
embeddingOptional
f16Optional
formatOptional
frequencyOptional
keepOptional
logitsOptional
lowOptional
mainOptional
mirostatOptional
mirostatOptional
mirostatOptional
numOptional
numOptional
numOptional
numOptional
numOptional
numOptional
numaOptional
penalizeOptional
presenceOptional
repeatOptional
repeatOptional
seedOptional
streamingOptional
temperatureOptional
tfsZOptional
topKOptional
topPOptional
typicalPOptional
useOptional
useOptional
vocabOptional
kwargs: Partial<unknown>Download a model onto the local machine.
The name of the model to download.
Optional
options: PullModelOptionsOptions for pulling the model.
Integration with the Ollama SDK.
Example