Multi-Source Question & Answer Assistant is an intelligent Streamlit application that allows users to upload and query multiple document sources using advanced AI-powered retrieval techniques.
- Upload and process multiple document types:
- PDF files
- Text files
- Web URLs
- Context-aware question answering
- Semantic search across uploaded documents
- Powered by Google's Gemini and Hugging Face embeddings
- Python 3.8+
- Google API Key
- Hugging Face account (for embeddings)
- Clone the repository:
git clone https://github.com/eslammohamedtolba/Multiple-Source-Question-Answer-Assistant.git
cd Multiple-Source-Question-Answer-Assistant- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`- Install dependencies:
pip install streamlit langchain-google-genai langchain-huggingface langchain-chroma python-dotenv pymupdf requests beautifulsoup4 sentence-transformers- Set up environment variables:
- Create a
.envfile in the project root - Add your Google API key:
GOOGLE_API_KEY=your_google_api_key_here
Run the Streamlit application:
streamlit run app.py- Upload your documents (PDFs, text files, or URLs)
- Click "Process Sources"
- Ask questions about your uploaded documents
- Streamlit
- LangChain
- Google Gemini AI
- Hugging Face Embeddings
- Chroma Vector Store
Contributions are welcome! Please feel free to submit a Pull Request.
