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:all
The default model used here is orca-mini for generation and nomic-embed-text for embeddings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ollama_haystack-3.3.0.tar.gz.
File metadata
- Download URL: ollama_haystack-3.3.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0502b69903392f5085358098f189dd9e4f376574190961459f76d68ee3c6d32f
|
|
| MD5 |
2132b818276a124f03ef2cf76ab207cc
|
|
| BLAKE2b-256 |
97649089ac3c11b612fda808e5dc12dfedd8590870f4981a7abea1c6b7dfa086
|
File details
Details for the file ollama_haystack-3.3.0-py3-none-any.whl.
File metadata
- Download URL: ollama_haystack-3.3.0-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e0c80507d9ab63f4f212466cc8379c7fbcaa15fa210d15d59d7fc181f5ef040
|
|
| MD5 |
2d9136c846cbb0342a1e8822171ccb3d
|
|
| BLAKE2b-256 |
1325bfba2f738c485df1cf8f7f020664ee782a41852b9232b19c9cb33bbfac84
|