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
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
ollama_haystack-1.1.0.tar.gz
(17.2 kB
view details)
Built Distribution
File details
Details for the file ollama_haystack-1.1.0.tar.gz
.
File metadata
- Download URL: ollama_haystack-1.1.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e88797747b094b95b04d36e3e5ccb4868205555a58d2d2792a7aedd03eb18db |
|
MD5 | fc3cc0a7f7bf2aa25459f4efe64f8a0b |
|
BLAKE2b-256 | 0dd1eaee6ff48d408088dc25fa66d7b8c4cb93ec68a39fc8b8b79007bdebd5df |
File details
Details for the file ollama_haystack-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: ollama_haystack-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bcdc2eeed60abf74261d2071f852f1a90a1ecbd2c0dddac1378990b78fe7cad |
|
MD5 | c554bedb742b7982e6cc06c0af1e1b04 |
|
BLAKE2b-256 | e73a2c04d8beacc83ad5811841ea8b198c0c157deef23758ec6d230dd1abad84 |