nlp-with-transformers / notebooks

Jupyter notebooks for the Natural Language Processing with Transformers book
https://transformersbook.com/
Apache License 2.0
3.7k stars 1.13k forks source link

RAGenerator Deprecation Chapter 7 - QA #112

Open MarioAvolio opened 11 months ago

MarioAvolio commented 11 months ago

Information

The problem arises in chapter:

Describe the bug

As of version 1.16, RAGenerator has been deprecated in Haystack and completely removed from Haystack as of v1.18. We recommend following the tutorial on Creating a Generative QA Pipeline with Retrieval-Augmentation instead. For more details about this deprecation, check out our announcement on Github.

link: https://haystack.deepset.ai/tutorials/22_pipeline_with_promptnode#overview

Ice-Citron commented 5 days ago

hi. can you please show me how could I approach this instead. I spent 3 hours trying to follow the tutorial, however it's only for OpenAI API which I didn't get that working due to billing issues.