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.2.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for ollama_haystack-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b8e6386a2f503ede604a387f84e9e13480fbc741d38bb898f0b14a23443231 |
|
MD5 | 98c835106e7519e40e2a31427d2fedaa |
|
BLAKE2b-256 | aa8accf9b36c6f06c4b82c6a55326048a2096a4ec044dd843fe84f9d891d447f |