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:all

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-3.1.0.tar.gz (24.9 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-3.1.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ollama_haystack-3.1.0.tar.gz
Algorithm Hash digest
SHA256 401b1a1be71b1df45380326a40f84756c7fd61da08920870d88d9f395881506d
MD5 08a8163c1b8fe38f2e861bc8af176ddb
BLAKE2b-256 b2fcac589bfa6f3aae758662c23222eeb06009e93a49f27c7d5f2b485bcff661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ollama_haystack-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 657ef2ce9b0f2f2c8992160738ca403d155d01850d22a966c750952edae38855
MD5 737a018543e11c70cd8c7512148bcc5d
BLAKE2b-256 7a345ea14ba3af4fc92747748972466c064523fdf2054c3c4847ed0f25ba775f

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