Streamlit GUI that receives any text input from a PDF, Image OCR, Wikipedia Page, URL, or plain text, to answer a question based on that information.
Given there is a max length to the model, if the total text passed as the input is larger than the max size, it will chunk it into appropriate sizes by sentence, and will run the model iteratively.
- Select input type
- Add input source
- Click analyse
- Ask any question in the prompt
git clone https://github.com/iamramizk/question-answering-ai
cd question-answering-ai
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run app.py