haystack icon indicating copy to clipboard operation
haystack copied to clipboard

Agents / callbacks in 2.x

Open jdb78 opened this issue 1 year ago • 9 comments

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.

jdb78 avatar Jan 05 '24 09:01 jdb78

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?

ilkersigirci avatar Feb 11 '24 11:02 ilkersigirci

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.

TuanaCelik avatar Feb 16 '24 16:02 TuanaCelik

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

samanvithms2002 avatar Mar 21 '24 05:03 samanvithms2002

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.

ayush4921 avatar Apr 01 '24 19:04 ayush4921

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.

jmdevita avatar Apr 12 '24 00:04 jmdevita

any updates on this?

jacksteussie avatar May 01 '24 19:05 jacksteussie

any updates on this?

rodrigozoff avatar Jun 05 '24 16:06 rodrigozoff

any updates on this?

kurobanekid avatar Jul 16 '24 15:07 kurobanekid