Prototype app for question answering over a library of PDF files.
It supports QA either for one PDF file or several PDF file in one directory.
It uses AllMiniLmL6V2EmbeddingModel
and OpenAiChatModel
.
Provide two arguments for the program:
- The first is API key (OpenAI API).
- The second one is the path to a single PDF file or a folder containing several PDF files.