Skip to main content

A plugin for Enthusiast that provides an Ollama connector.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enthusiast_model_ollama-1.4.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enthusiast_model_ollama-1.4.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file enthusiast_model_ollama-1.4.0.tar.gz.

File metadata

  • Download URL: enthusiast_model_ollama-1.4.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1015-azure

File hashes

Hashes for enthusiast_model_ollama-1.4.0.tar.gz
Algorithm Hash digest
SHA256 3c4858bfc1d5ad6c94b465ce3108e6e536644e2a21c297eba9f9bd21e8b1f1d9
MD5 60c3dccc86fe44e3b41ee06ad4de49c6
BLAKE2b-256 2f78c8cf0e2e90e33aed49fcb38d8d9d3469f8bcda5e10f97ac2f51d1d247801

See more details on using hashes here.

File details

Details for the file enthusiast_model_ollama-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for enthusiast_model_ollama-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68c98964d3b0922461c47eae9c37ba6d77e0a879bc6474c1e60a76497a67883e
MD5 e73a618b6351e0a437205916559daf63
BLAKE2b-256 42ecded21808ccb984d07f450a4c9b42414a0665b82674af22c4b519620a2438

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page