Build Kebab Ordering Agent with Flue Framework
Requirements
Create an AI-powered ordering agent for kebab/food places that:
- Takes a PDF menu and creates a catalog with prices
- Allows customers to place orders via chat
- Validates minimum order size and order deadline
- Generates confirmation and email-ready TXT file
- Supports multiple languages (Dutch, French, English)
- Uses Flue Framework with stepfun model
- Is open source
Technical Specifications
- Node.js/TypeScript project using Flue SDK
- PDF parsing for menu extraction
- Order state management with validation
- Multi-language support with configurable settings
- Email-ready output format
- Deployable as HTTP server or CLI
Acceptance Criteria
- Agent can parse sample PDF menu and extract items/prices
- Order workflow handles minimum order amount (€25)
- Order deadline enforcement (before 11:00 Belgian time)
- Confirmation dialog before finalizing order
- Generates structured TXT file suitable for email
- Language configurable via environment/settings
- Stepfun model integration working
- Complete documentation and examples
Environment Variables Required
- STEPFUN_API_KEY
- MIN_ORDER_AMOUNT (default 25)
- ORDER_DEADLINE_HOUR (default 11)
- SUPPORTED_LANGUAGES (en,nl,fr)
- DEFAULT_LANGUAGE (en)
- RESTAURANT_EMAIL