-
Notifications
You must be signed in to change notification settings - Fork 128
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
Support for streaming ollama generator #280
Support for streaming ollama generator #280
Conversation
Hey, @sachinsachdeva! When you want this PR to be reviewed, put it in "Ready for review" status. In the meantime, I would say that now that the Generator also accepts a streaming callback, we should also take care of properly serializing/deserializing this component. You can refer to the methods Let me know if you need any help or directions. |
@anakin87 ready for review now |
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.
Hey @sachinsachdeva, I'm going to test this PR locally soon. In the meantime I left two minor comments.
integrations/ollama/src/haystack_integrations/components/generators/ollama/generator.py
Outdated
Show resolved
Hide resolved
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.
I tested it and it works well. Thank you for your contribution! 🤗
Implements #167