An interactive chatbot built with Streamlit, GPT-4 API, and ChromaDB, allowing users to upload PDF documents, extract content, and engage in contextual conversations. Includes user authentication with login and registration functionality.
- Upload and Chat: Upload PDFs and ask questions based on the document's content.
- Advanced AI Models: Powered by GPT-4 for intelligent and contextual responses.
- Vector Database: Efficient document retrieval using ChromaDB.
- Authentication: Secure login and registration for personalized usage.
Install dependencies using the provided requirements.txt
:
pip install -r requirements.txt
- Create a
.env
file in the project root directory. - Add your OpenAI API key in the following format:
OPENAI_API_KEY=your_openai_api_key
- Open your terminal and run the following command:
streamlit run app.py
- Open the browser to navigate to http://localhost:8501 to use the chatbot.