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.4.1.tar.gz (21.8 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.4.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ollama_haystack-2.4.1.tar.gz
Algorithm Hash digest
SHA256 d06921a59f4897c4090d6c46941f409225aed1cd016d7afeb4cf376d30e527de
MD5 971c983cacf898b47fb1ab844574d894
BLAKE2b-256 d81c39991c6d581df63b6bc66202e8680d8e37cdfddd91dc2af61e6741a83039

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ollama_haystack-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c10abb40a194b497c975c0a57e5a5dca47358ffe8555568d14119eea831da0ad
MD5 c3d4267882531181e1897acc2e79c5f5
BLAKE2b-256 8cc7e7e3e073721be1cc175f8c172e860e5b48df5d48171b0c497e9848866051

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