{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/7"}],"enrichment":{"capability":"Integrates local Ollama language models with LlamaIndex, enabling text completion, chat, streaming, and structured JSON responses through a unified Python interface.","skillfed_tags":["local-llm","rag-integration","streaming"],"use_cases":["Build RAG pipelines with local models using LlamaIndex, avoiding cloud API costs and latency.","Stream long-form text generation from local Ollama models in real-time chat applications.","Extract structured data (JSON objects, Pydantic models) from local LLMs for downstream processing.","Prototype and test LLM-powered features locally before migrating to production endpoints.","Combine Ollama with LlamaIndex's retrieval and indexing tools for document Q&A on private data."],"what_it_does":"This package bridges LlamaIndex and Ollama, allowing you to run local language models through a standardized LLM interface. Instead of calling Ollama's API directly, you instantiate an Ollama object with a model name and interact with it via familiar LlamaIndex methods: complete() for text generation, chat() for multi-turn conversations, and stream_complete() or stream_chat() for incremental responses. It also supports JSON mode for structured outputs and Pydantic-based response schemas.\n\nThe package assumes Ollama is already running locally on your machine (typically on localhost:11434). You configure the model, request timeout, and optional JSON mode when creating the Ollama instance. It's a thin adapter layer that translates LlamaIndex's LLM protocol into Ollama API calls, making it straightforward to swap local models into LlamaIndex workflows without rewriting application code.","worth_installing":"Yes, if you are already using LlamaIndex and want to run models locally via Ollama. Install friction is minimal, maintenance is active, and the MIT license is permissive. The package is straightforward to set up once Ollama is running. No vulnerabilities are known. The main prerequisite is having Ollama installed and a model downloaded locally."},"id":"llama-index-llms-ollama","links":{"html":"https://skillfed.io/packages/llama-index-llms-ollama","md":"https://skillfed.io/packages/llama-index-llms-ollama.md","pypi":"https://pypi.org/project/llama-index-llms-ollama/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-20","license_spdx":"MIT","license_treatment":"permissive","name":"llama-index-llms-ollama","python_support":"supports_current","summary":"llama-index llms ollama integration"},"popularity":{"monthly_downloads":250227,"position":8635,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.1"}
