DocuChat AI is an intelligent multi-document assistant built with Streamlit. It allows users to upload PDF documents and ask questions about the content. The app uses a language model to provide accurate answers based on the provided documents.
- Upload multiple PDF documents
- Ask questions about the uploaded documents
- Receive accurate answers with source document references
- View response time for each query
- Customizable app styling
-
Clone the repository:
git clone https://github.com/Pandurangmopgar/ChatWDoc.git cd ChatWDoc -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.envfile in the root directory. - Add your API keys to the
.envfile:GROQ_API_KEY=your_groq_api_key GOOGLE_API_KEY=your_google_api_key
- Create a
-
Run the Streamlit app:
streamlit run app.py
-
Use the sidebar to upload your PDF documents.
-
Enter your question in the main panel and click "Ask" to get your answer.