cohere-ai / sandbox-grounded-qa

A sandbox repo for grounded question answering with Cohere and Google Search
MIT License
136 stars 17 forks source link

Checking assumptions of a question #2

Open nielsrolf opened 1 year ago

nielsrolf commented 1 year ago

Hi, this is a very cool project, thanks for open sourcing it!

I just watched your intro video in which you showed the failure mode on questions like "Who is the king of America?" and would like to propose a potential solution to this by adding one more step to the question answering system:

Screenshot 2022-11-05 at 12 25 37

Maybe I will work on a PR sometime in the next week but I wanted to leave the idea here in case somebody else wants to do it quicker

nickfrosst commented 1 year ago

that would be great! Thanks so much for your interest! I have also been playing around with a prompt to find follow-up questions, for breaking down questions that can't be answered in a single google query. I think these two improvements may be able to rely on the same prompt

Here is the prompt I was playing with! https://os.cohere.ai/custom-preset?ref=follow_up_questions-hvluh8&e=generate