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.4.0.tar.gz (26.1 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.4.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ollama_haystack-3.4.0.tar.gz
Algorithm Hash digest
SHA256 de4a29a1a94facc45bf99988d853b7afb2fb7ff7a98e48cb08a7def23b2530e6
MD5 4a395ddc38950800c8139cf3426f3479
BLAKE2b-256 5c15bc4fbfad5149fc820e41d3267259217b2ebec7b0b18dffadb3618537951d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ollama_haystack-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e2598cb95f330c6424d8e0885e5633e819406a7c8a7d5ab05bb4c33f569a827
MD5 0adc973c993ea46eeb8024139954a850
BLAKE2b-256 78a15b10c16051355640ccaf123014a690d4ee377abada180ad4b4d2c31bba1e

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