astronomer / ask-astro

An end-to-end LLM reference implementation providing a Q&A interface for Airflow and Astronomer
https://ask.astronomer.io/
Apache License 2.0
201 stars 47 forks source link

MultiQueryRetriever Increasing Error Rate due to Prompt Rewording Format #272

Closed davidgxue closed 10 months ago

davidgxue commented 10 months ago

Describe the bug The MultiQueryRetriever which rewords the user prompts 2 times by writing 2 additonal prompts on each line in the output using GPT3.5 has observed an increase in error rate.

The root cause is as follows:

Expected behavior MutliQueryRetriever should be able to regenerate reworded prompts without erroring.