Metadata-Version: 2.4
Name: enthusiast-model-ollama
Version: 1.3.0
Summary: A plugin for Enthusiast that provides an Ollama connector.
Author: Rafal Cymerys
Author-email: rafal@upsidelab.io
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: enthusiast-common (>=1.6.0,<2)
Requires-Dist: langchain-core (>=0.3.83,<0.4.0)
Requires-Dist: langchain-ollama (>=0.3.3,<0.4.0)
Description-Content-Type: text/markdown

# Ollama Models

This Enthusiast plugin enables locally hosted models via Ollama for generating embeddings and LLMs.

## Installation

Run the following command inside your application directory:

```shell
pip install enthusiast-model-ollama
```

## Configuration

Register the providers in your `settings_override.py`:

```python
CATALOG_LANGUAGE_MODEL_PROVIDERS = [
    'enthusiast_model_ollama.OllamaLanguageModelProvider',
]

CATALOG_EMBEDDING_PROVIDERS = [
    'enthusiast_model_ollama.OllamaEmbeddingProvider',
]
```

The following environment variables are optional:

```
OLLAMA_HOST=http://127.0.0.1:11434  # defaults to http://127.0.0.1:11434 if not set
OLLAMA_API_KEY=<your_ollama_api_key>  # only required if your Ollama instance requires authentication
```

