Integrations · Class
ChatOllama
ChatOllama connects LangChain JavaScript chat models to Ollama. Create it with an Ollama model name, then call invoke for one result or stream for incremental chunks.
Last updated
- Since
- v1.0
Syntax
new ChatOllama({ model: string, temperature?: number, ...options })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BaseChatModelChatOllamaCallOptionsAIMessageChunkbindToolsinvokestreamwithConfig