Clone the repository
git clone https://github.com/AhmadHammad21/AI-Agent.git
cd AI-AgentYou can use anaconda environment as well
python -m venv venv
venv/Scripts/activatepython3 -m venv venv
source venv/bin/activatepip install -r requirements.txtCreate a .env file and add your API key and project name:
OPENAI_API_KEY=""
MONGODB_URL="mongodb://34.173.119.32/"
MONGODB_DATABASE="ai-agent"
MONGODB_COLLECTION="chatbot"sudo docker-compose up --builduvicorn main:app --reload --host 0.0.0.0 --port 5000streamlit run app.pyMost of the project structure was inspirted by Abu Bakr Soliman Mini Rag Series.