Skip to main content

An integration between the Ollama LLM framework and Haystack

Project description

ollama-haystack

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install ollama-haystack

License

ollama-haystack is distributed under the terms of the Apache-2.0 license.

Testing

To run tests first start a Docker container running Ollama and pull a model for integration testing It's recommended to use the smallest model possible for testing purposes - see https://ollama.ai/library for a list that Ollama supportd

docker run -d -p 11434:11434 --name ollama ollama/ollama:latest
docker exec ollama ollama pull <your model here>

Then run tests:

hatch run test

The default model used here is orca-mini for generation and nomic-embed-text for embeddings

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

ollama_haystack-2.1.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

ollama_haystack-2.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file ollama_haystack-2.1.0.tar.gz.

File metadata

  • Download URL: ollama_haystack-2.1.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.0

File hashes

Hashes for ollama_haystack-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d737d8c10511ad42b6679b3a16d355118746a104f60cc5ccde31ba1659dd3e7f
MD5 1fb3f3ec31a2372c7dacf9f02dd3ed21
BLAKE2b-256 10cf78b39377c1a72f1eab95ec774b50b66f3c8f5cf472a1462238c196d2301a

See more details on using hashes here.

File details

Details for the file ollama_haystack-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ollama_haystack-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c929984f8691789bf09bdbf97658e02742283dd5fdae5719cbfbb8b9e962364
MD5 b4ddc87111639b6dc1f991b986dfad4a
BLAKE2b-256 db5e6440a3c3f6c8ffd49a0f8451581fb1e5caaeb32f5e21c444c89c4efce630

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