-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Context
Hello There!👋🏿👋🏿
I am facing an issue in running the code for the QA engine in the 3-part Forte tutorial, also described in the QA.md.
Issue
When I run python examples/pipeline/inference/search_cord19.py, it appears the python file search_cord19.py is written (in the __main__ loop) to only output the number of datapacks (= 11 in the screenshot below), instead of the response to the query.
This seems different from other Forte based examples such as the Forte Chatbot [link], whereby the output datapacks obtained from query_pipeline.process_dataset(), are further processed with more lines of code, before the chatbot output is shown.
In other words, it appears that some code in the last part of QA python file may have been ommitted? This was also the case in prior version of the search_cord19.py found in the commit history, as well as the 3-part blog post. Perhaps there may be some lines of code I can add to the python file, to allow for the answer to be displayed in response to a query?
Warm regards,

