Hana AI Assistant
Hana AI is a built-in grocery assistant that helps users find products, get recipes, and shop smarter.

AI Chat

Voice Input
Features
Text Chat
Type questions and get product recommendations as chat messages.
Voice Input
Tap the microphone button, speak naturally, and the app transcribes your voice.

Voice Input
Product Recommendations
When the AI suggests a product, it shows a card with:
- Product image
- Name and price
- Add to Cart button
Tap "Add to Cart" to add the item directly.

AI Product Card
Recipe Suggestions
The AI can suggest recipes with:
- Recipe name and cook time
- Ingredient list
- Add All to Cart button — adds all ingredients at once
How It Works
- User types or speaks a question
- AI processes the request
- AI responds with text, product cards, or recipe cards
- User can add items to cart directly from the chat
Example Prompts
Try asking the AI:
- "What's fresh today?"
- "Suggest a healthy breakfast"
- "Find me a pasta recipe"
- "Add milk to my cart"
:::info Connecting Your AI
The AI chat UI is fully built. Connect your own AI backend (OpenAI, Gemini, Claude, or custom) by updating the sendMessage function in hana_ai_controller.dart.
:::