DocumentQaRunner has an executable that sets up a command-line chat client. Currently this runnable sets up a simple chat client that you can use to select documents and ask questions about them.
For this task, modify this runnable to:
[ ] Require command-line parameter --chat to start the interactive chat mode
[ ] Add command-line parameter for the folder
[ ] Add command-line parameter for the question
[ ] Add command-line parameter for the models (embedding and completion)
[ ] By default, only generate LLM output, no additional logging
As a result, users should be able to write simple bash scripts to execute Q&A against a collection of questions.
DocumentQaRunner
has an executable that sets up a command-line chat client. Currently this runnable sets up a simple chat client that you can use to select documents and ask questions about them.For this task, modify this runnable to:
--chat
to start the interactive chat modeAs a result, users should be able to write simple bash scripts to execute Q&A against a collection of questions.