File size: 2,509 Bytes
d74b75c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
title: ChefCode - AI Restaurant Management
emoji: 🍳
colorFrom: 'blue'
colorTo: 'gray'
sdk: docker
sdk_version: "1.0"
app_file: app.py
pinned: false
---
# 🍳 ChefCode - AI Restaurant Management

An AI-powered restaurant inventory and recipe management system with voice recognition and web recipe search.

## πŸš€ Features

- **AI Assistant**: Voice and text commands for inventory and recipe management
- **Web Recipe Search**: Find and import recipes from TheMealDB
- **Inventory Management**: Track ingredients with quantities and prices
- **Recipe Management**: Create, edit, and manage recipes
- **Voice Recognition**: Hands-free operation with continuous conversation

## 🎯 Quick Start

1. **Open the app** - The interface will load automatically
2. **Enable microphone** when prompted for voice commands
3. **Try these commands**:
   - 🎀 "Add 5 kg of flour at 2 euros per kg"
   - 🎀 "Search for pasta recipes"
   - 🎀 "Add recipe Pizza with flour 500 grams and tomato 200 ml"

## πŸ€– AI Assistant Commands

### Inventory Management
- "Add 5 kg of rice at 2.50 euros per kg"
- "Update flour to 10 kg"
- "Remove tomatoes from inventory"
- "How much rice do we have?"

### Recipe Management
- "Add recipe Pizza with flour 100 kg and tomato sauce 200 ml"
- "Search for Italian pasta recipes"
- "Edit recipe Pizza by adding 2 grams of salt"
- "Show me all dessert recipes"

## 🌐 Web Recipe Search

1. Go to **Recipes** section
2. Click **"Search Recipe from Web"**
3. Search for any recipe (e.g., "Italian pasta", "chicken soup")
4. View results and import with AI ingredient mapping

## 🎨 Interface

- **Modern Design**: Clean, responsive interface
- **Voice-First**: Optimized for hands-free operation
- **Color-Coded Results**: Visual feedback for ingredient matching
- **Real-Time Updates**: Live data synchronization

## πŸ”§ Technical Details

- **Backend**: FastAPI with SQLite database
- **AI Models**: OpenAI GPT-4o-mini and GPT-o3
- **Frontend**: Modern web interface with voice recognition
- **External APIs**: TheMealDB for recipe discovery

## πŸ“Š Database

The app uses SQLite for data storage with the following tables:
- `inventory_items` - Inventory data
- `recipes` - Recipe data with JSON ingredients
- `tasks` - Production tasks

## πŸŽ‰ Enjoy ChefCode!

Perfect for restaurant managers, chefs, and kitchen staff who want to streamline their operations with AI-powered tools.

**Start by clicking the microphone button and saying your first command!** 🎀✨