An integration between the Ollama LLM framework and Haystack
Project description
ollama-haystack
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
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-0.0.1.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for ollama_haystack-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8debb7f5f73b054d4b0a50b0ef147f22bb9da2709243144f99574fd5507d92a9 |
|
MD5 | f1f04c4d7c37164c8e9faaf8511a34c7 |
|
BLAKE2b-256 | 569faeb93546033b51b1bbf6f7dab147bf660c562947154dea8415be3262efef |