Ask a question to get started
Enter to send•Shift+Enter new line
Ollama()
BaseLLM
_OllamaCommon
Ollama locally runs large language models. To use, follow the instructions at https://ollama.ai/. Example: .. code-block:: python from langchain_community.llms import Ollama ollama = Ollama(model="llama2")