-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat: add support ollama
api
#250
feat: add support ollama
api
#250
Conversation
chore: remove `litellm` as dependency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition!! For when you tackle the docs, it would be nice to include an example of how to setup ollama so it is as contained as possible
chore: added aligned paramater usage
Difficulty w.r.t. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Could you add some tests like the ones here? After that we should have a new cool integration 😃
…feat/245-feature-add-ollama-llm-integration
In this PR I've included basic support for ollama
Some design choices:
urllib
library. we might replace this withrequests
to also allow for passing aclient
http://localhost:11434
but overwrite withOLLAMA_HOST
env var as in Ollama docsollama run model
?)Things to note:
api/chat
endpointn_generations
in one request so we make multiple