-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ollama integration #6514
Comments
Definitely something I think should be implemented as LangChain has this |
I will have a go tomorrow morning |
@AlistairLR112 if you want to try, you are welcome and we can help you! One thing I forgot: like all new external integrations for 2.x, this one should live on https://github.com/deepset-ai/haystack-core-integrations. if something is not clear, let's talk about it here or on Discord... |
Fantastic! Let's chat tomorrow! If I use LLMs too close to bed.. I will be dreaming in prompts! |
This would a useful feature , in case you haven't already started I can give it a go. |
@sachinsachdeva I think you can give it a try... Please consider my minimal implementation and the fact that this integration should be created under https://github.com/deepset-ai/haystack-core-integrations. |
@anakin87 opened Draft pull request, you want continue scope discussion here or on the PR ? |
Thanks! Let's discuss on the PR... |
Apologies all, Christmas family commitments got in the way! |
deepset-ai/haystack-core-integrations#132 lets combine our attempts |
Sorry, I have been very busy... |
Closing in favor of deepset-ai/haystack-core-integrations#146 let's continue the conversation there |
Ollama is a good and popular project to run LLMs easily.
It uses a Modelfile, a similar concept to Dockerfile.
The model, when launched, exposes a REST API (documented here).
Integrating it in Haystack 2.0 would be great, creating an
OllamaGenerator
.It would also not require external dependencies!
If anyone wants to implement the integration, please comment below and we can discuss it together...
Minimal implementation
Design
A proper component should be similar to GPTGenerator and TGIGenerator.
I can imagine something similar to this:
The text was updated successfully, but these errors were encountered: