Skip to content

andyvan27/bean-there-cafe-agent

Repository files navigation

Bean There Cafe - AI Customer Support Agent

An intelligent customer service agent for Bean There Cafe, built with Azure AI Foundry and GPT-4o-mini.

Bean There Cafe

🎯 Features

  • 💬 Interactive chat interface
  • ☕ Coffee shop knowledge base (menu, hours, locations)
  • 🤖 Natural conversation handling
  • 📊 Token usage tracking
  • 🔄 Conversation memory

🛠️ Tech Stack

  • Azure AI Foundry - Agent deployment and management
  • GPT-4o-mini - Language model
  • Python 3.x - Application code
  • OpenAI Python SDK - Azure integration

📋 Prerequisites

  • Python 3.8 or higher
  • Azure subscription with AI Foundry access
  • Azure OpenAI deployment

🚀 Setup

1. Clone the repository

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.txt

2. Configure environment variables

Create 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-mini

3. Run test connection

python test_connection.py

4. Start chat

python chat.py

5. Start chat with tools

python chat_with_tools.py

6. Start Workflow Official Client

python workflow_official_client.py

About

An intelligent customer service agent for Bean There Cafe, built with Azure AI Foundry and GPT-4o-mini.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages