Skip to content
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

Agents / callbacks in 2.x #6687

Open
jdb78 opened this issue Jan 5, 2024 · 8 comments
Open

Agents / callbacks in 2.x #6687

jdb78 opened this issue Jan 5, 2024 · 8 comments
Labels
follow-up-needed Follow up information needed from the team

Comments

@jdb78
Copy link

jdb78 commented Jan 5, 2024

Is your feature request related to a problem? Please describe.
I want to use haystack as backend for chainlit (frontend). There is an integration for haystack 1.x (see here) but I do not want to build on legacy tech. The issue is that haystack 2.x does not have callbacks, so chainlit can show the intermediate steps and what is going on.

Describe the solution you'd like
Can we introduce agents or enable callbacks in the pipeline?

Describe alternatives you've considered
Use langchain.

@ilkersigirci
Copy link

Chainlit integration for 2.x would be awesome. It is the only thing that blocks me to migrate from langchain to haystack.

BTW, is there any unofficial implementation of chainlit integration for simple haystack 2.x RAG pipeline?

@TuanaCelik TuanaCelik added the follow-up-needed Follow up information needed from the team label Feb 16, 2024
@TuanaCelik
Copy link
Member

Hi all, had a brief update with the team on this:
Callback work will start after the stable release of 2.0. We're tagging this with "follow-up-needed" so that we make sure to update you all as soon as we start working on this issue.

@samanvithms2002
Copy link

Hi team, is it also possible to add the custom callback method to haystack1.x as well as it would benefit us since we would have to migrate to haystack2.x only for accessing that functionality, it also be great to provide references to exisitng implementations of custom callback handlers in haystack1.x

@ayush4921
Copy link

Adding to this discussion, I love Haystack 1.25 and have been using Haystack 1.xx for a long time.

I wanted to confirm whether Agents and Cohere rerankers were in the dev pipeline for haystack 2.xx.

@jmdevita
Copy link

Also adding to this thread, I've been looking forward to using agents in my applications, and it's the last piece for me to move off of haystack 1.xx.

@jacksteussie
Copy link

any updates on this?

2 similar comments
@rodrigozoff
Copy link

any updates on this?

@kurobanekid
Copy link

any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
follow-up-needed Follow up information needed from the team
Projects
None yet
Development

No branches or pull requests

9 participants