Doc Chat is a document-based chat bot that allows users to upload PDF documents, query related information, and get responses generated by GPT models (GPT-4 Turbo or GPT-5). It uses Streamlit for the frontend, LangChain, and ChromaDB for storing vector embeddings of the documents.
-
Create a virtual environment to manage dependencies:
python -m venv doc_chat_env source doc_chat_env/bin/activate
-
Clone the repository:
git clone [https://github.com/your_username/doc-chat.git](https://github.com/AIOnGraph/docChatBot.git)https://github.com/AIOnGraph/docChatBot.git cd docChatBot ```
-
Install dependencies:
bash pip install -r requirements.txt
-
Run the application:
bash streamlit run main.py
-
Usage:
- Open the provided URL in your browser to access the application.
1. **Enter OpenApiKey in sidebar**
2. **Upload PDF document**
3. **Select GPT model(GPT-4 Turbo or GPT-5)**
4. **Ask Query:**
If you encounter any issues, have feedback, or suggestions, please open an issue on GitHub