ragas icon indicating copy to clipboard operation
ragas copied to clipboard

Update `HaystackLLMWrapper` to support New Chat Generator Components

Open maxdswain opened this issue 7 months ago • 3 comments

Describe the Feature Update HaystackLLMWrapper to support new Haystack chat generator components. Currently only the legacy generator type components are supported in HaystackLLMWrapper and validated meaning that the newer components cannot be used even if they would work.

Why is the feature important for you? Newer Haystack chat generator components such as OpenAIChatGenerator and OpenAIResponsesGenerator support async coroutines, newer APIs (such as the responses API) and tool calling. It would also allow the use of the same components in the Ragas evaluation pipeline as in a regular pipeline, as you currently have to use the legacy generator components in the Ragas evaluator even if you use the newer components in your regular Haystack pipeline.

Additional context

  • https://docs.haystack.deepset.ai/docs/openairesponseschatgenerator

maxdswain avatar Apr 22 '26 09:04 maxdswain

I'd like to work on this. I'll open a PR shortly.

Harsh23Kashyap avatar Jun 30 '26 05:06 Harsh23Kashyap

Opened https://github.com/vibrantlabsai/ragas/pull/2799 for this.

Harsh23Kashyap avatar Jun 30 '26 05:06 Harsh23Kashyap

Closed as ragas-haystack integration no longer uses HaystackLLMWrapper.

maxdswain avatar Aug 27 '26 09:08 maxdswain