Skip to main content

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:

pip install enthusiast-model-ollama

Configuration

Register the providers in your settings_override.py:

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

Metadata

Release files for enthusiast-model-ollama 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enthusiast-model-ollama 1.4.0
File Size Uploaded
enthusiast_model_ollama-1.4.0.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for enthusiast-model-ollama 1.4.0
File Interpreter ABI Platform
enthusiast_model_ollama-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / enthusiast_model_ollama-1.4.0.tar.gz

Download URL enthusiast_model_ollama-1.4.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3c4858bfc1d5ad6c94b465ce3108e6e536644e2a21c297eba9f9bd21e8b1f1d9
BLAKE2b-256 checksum
How to use checksums
2f78c8cf0e2e90e33aed49fcb38d8d9d3469f8bcda5e10f97ac2f51d1d247801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1015-azure

Release files / enthusiast_model_ollama-1.4.0-py3-none-any.whl

Download URL enthusiast_model_ollama-1.4.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68c98964d3b0922461c47eae9c37ba6d77e0a879bc6474c1e60a76497a67883e
BLAKE2b-256 checksum
How to use checksums
42ecded21808ccb984d07f450a4c9b42414a0665b82674af22c4b519620a2438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1015-azure

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page