Closed younes-io closed 3 months ago
How to get the context used when calling RA.answer_question?
RA.answer_question
(this should help when testing/debugging/evaluating, etc)
Look for def answer_question in the class GPT3TurboQAModel in QAModels.py, then , you can print the context out.
You can use
context, __ = RA.retrieve(question) print(context)
How to get the context used when calling
RA.answer_question
?(this should help when testing/debugging/evaluating, etc)