https://github.com/vertocode/ai-coffee-chatbot
A virtual barista chatbot built with LangChain, OpenAI, and Streamlit. It answers questions about a fictional coffee shop, with chat history memory and a cozy, branded UI.
https://github.com/vertocode/ai-coffee-chatbot
Last synced: 10 months ago
JSON representation
A virtual barista chatbot built with LangChain, OpenAI, and Streamlit. It answers questions about a fictional coffee shop, with chat history memory and a cozy, branded UI.
- Host: GitHub
- URL: https://github.com/vertocode/ai-coffee-chatbot
- Owner: vertocode
- License: mit
- Created: 2025-06-21T01:19:50.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-21T01:35:55.000Z (12 months ago)
- Last Synced: 2025-06-21T02:33:04.720Z (12 months ago)
- Language: Python
- Size: 82 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ☕ AI Coffee Chatbot
This is a Streamlit-based chatbot application that simulates a virtual coffee seller. The app uses a large language model to help users choose from a set of predefined coffee options.
## Demo
- [YouTube Demo](https://youtu.be/P6QKb9Bdk-k?si=DxDi1Aa3K_u8SfjW)

## Installation
1. Clone the repository:
```bash
git clone https://github.com/vertocode/ai-coffee-chatbot
cd ai-coffee-chatbot
```
2. (Optional, but recommended) Create and activate a Python virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. Install dependencies:
```bash
pip install -r requirements.txt
```
4. Set your OpenAI API key in a `.env` file:
```
OPENAI_API_KEY=your_openai_key_here
```
## Running the App
```bash
streamlit run src/app.py
```
The app will open in your browser. Just type your coffee preference and the assistant will suggest a drink!
## Customization
You can customize the coffee types, tone, or assistant personality by modifying the system prompt in `agent.py`.
## License
MIT License. Feel free to modify and use this project for your own virtual store experiments!