{"library":"langchain-ollama","type":"library","category":null,"description":"langchain-ollama is an integration package that connects LangChain, a framework for developing applications powered by language models, with Ollama, a platform for running open-source large language models (LLMs) locally. This allows developers to build AI applications that leverage local LLMs for enhanced privacy, reduced costs, and offline capabilities. The library is actively maintained with frequent releases, currently at version 1.1.0, requiring Python versions >=3.10.0 and <4.0.0.","language":"python","status":"active","version":"1.1.0","tags":["LLM","Ollama","LangChain","embedding","local-models","chat-model","text-generation"],"last_verified":"Thu May 21","install":[{"cmd":"pip install langchain-ollama","imports":["from langchain_ollama import ChatOllama","from langchain_ollama.llms import OllamaLLM","from langchain_ollama.embeddings import OllamaEmbeddings"]},{"cmd":"curl -fsSL https://ollama.com/install.sh | sh\nollama pull llama3","imports":[]}],"homepage":"https://docs.langchain.com/oss/python/integrations/providers/ollama","github":"https://github.com/langchain-ai/langchain","docs":"https://reference.langchain.com/python/integrations/langchain_ollama/","changelog":"https://github.com/langchain-ai/langchain/releases?q=%22langchain-ollama%22","pypi":"https://pypi.org/project/langchain-ollama/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":6.4,"avg_import_s":2.75,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/langchain-ollama/compatibility"}}