Multimedia Chatbot Assistant — Document Q&A
Python · Streamlit · OpenAI API · pypdf · python-docx
This Streamlit application provides a conversational interface to OpenAI models and can include text extracted from uploaded PDF, DOCX, and TXT files in the conversation context. It maintains recent conversation history in the active Streamlit session and offers model selection in the interface.
How Document Context Works
The app extracts text from uploaded files and sends it with the user's question and recent chat history to the selected language model. It does not implement a full Retrieval-Augmented Generation system: there is no embedding generation, vector database, or semantic retrieval step. For that reason, this project is more accurately described as document Q&A using prompt context rather than vector-based RAG.
Technologies
Python, Streamlit, OpenAI API, pypdf, python-docx, Streamlit secrets.
Demo