An intelligent customer service agent for Bean There Cafe, built with Azure AI Foundry and GPT-4o-mini.
- 💬 Interactive chat interface
- ☕ Coffee shop knowledge base (menu, hours, locations)
- 🤖 Natural conversation handling
- 📊 Token usage tracking
- 🔄 Conversation memory
- Azure AI Foundry - Agent deployment and management
- GPT-4o-mini - Language model
- Python 3.x - Application code
- OpenAI Python SDK - Azure integration
- Python 3.8 or higher
- Azure subscription with AI Foundry access
- Azure OpenAI deployment
git clone https://github.com/andyvan27/bean-there-cafe-agent.git
cd bean-there-cafe-agent
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txtCreate a .env file in the project root with the following content:
AZURE_OPENAI_ENDPOINT=https://<your-foundry-resource>.openai.azure.com/openai/v1/
AZURE_OPENAI_KEY=your-key-here
AZURE_OPENAI_DEPLOYMENT=gpt-4o-minipython test_connection.pypython chat.pypython chat_with_tools.pypython workflow_official_client.py