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-3.0.0.tar.gz (22.3 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.0.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ollama_haystack-3.0.0.tar.gz
Algorithm Hash digest
SHA256 f535b2980affef9ae2182948cce5715f7284bf78dbc9323ecef81d778bf0ef7e
MD5 92877c73857e4fd2ec08d9ffffb45325
BLAKE2b-256 d262fdae1e34351281bfe515f7646d410bf845f9241abbfed4272309296e5407

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ollama_haystack-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9555db3ebb9e3c35c3f8891f6241af51fe2ea7df18fd921c3cea54f6e5c20c4e
MD5 98f202f529737558a938b0d68f07c627
BLAKE2b-256 070891255a30c5ad18354927f871702cde5a22f4f18ca1e3d135f6b8a520f50c

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