langchain_ollama library

LangChain.dart integration module for Ollama (run Llama 3, Mistral, Vicuna and other models locally).

Classes

ChatOllama
Wrapper around Ollama Chat API that enables to interact with the LLMs in a chat-like fashion.
ChatOllamaOptions
Options to pass into ChatOllama.
Ollama
Wrapper around Ollama Completions API.
OllamaEmbeddings
Wrapper around Ollama Embeddings API.
OllamaOptions
Options to pass into the Ollama LLM.

Enums

OllamaResponseFormat
The format to return a response in.