- Step1: Clone the DocGPT repository from GitHub.
- Step2: Install dependencies with pip install -r requirements.txt.
- Step3: Set your OpenAI API key in the environment variable OPENAI_API_KEY.
- Step4: Launch the app using streamlit run app.py.
- Step5: Upload your document (PDF, DOCX, or PPTX) in the web interface.
- Step6: Type natural language questions in the chat panel.
- Step7: Receive and review context-aware answers generated by ChatGPT.