AWS Logo
Menu

Let Q help you decide what to eat!

Are you also always feeling hard to choose what to eat for your next meal? This might be something helpful!

Published Nov 14, 2024

1. Initiation of the Idea

I’m a passionate foodie, always on the hunt for my next delicious adventure. But sometimes, I get totally stuck trying to decide what to eat. With an open mind toward all kinds of cuisines, the sheer variety leaves me paralyzed with indecision!
What if I let AI, specifically Q, decide what to eat for me? My first step was to have Q list out the most common cuisines from around the world.

2. The First Trial!

Next, I had it create a webpage where users could press a button to randomly pick a cuisine.
Clicking "Asian Cuisine"
Clicking "Middle Eastern Cuisine"

 
It generated the webpage that picks a specific cuisine type for me when I'm choosing a genre! Looks like I'm going to have Korean food for my next meal and Lebanese for my meal after the next meal 😋.

3. Iterations

3.1 Choose from the beginning for me!

Honestly, there are plenty of times when I can’t even decide which region’s cuisine to go for, so I wanted Q to help me make that choice too.
Let's eat South Indian food!
Let's eat British food!

3.2 How about the dishes?

What if I’m not familiar with the classic dishes of that cuisine? I’d love for Q to step in and list some famous dishes for me.
Kebab! I'm going to somewhere close to my apartment and have it
Hot pot sounds good too! Calling my friends to go with me

3.3 I want even pictures!

Initially I asked Q to help me integrate some existing food pic APIs, but it turns out these APIs generally have a very low upper limit for the number of requests we could send.
Then I decided to make it based on descriptions of the dishes.

I'm hungry already
And even more

 4. Summary

4.1 The core functionality

It's actually a simple filling of the content with some random number generation. But it's absolutely amazing that Q does all of these for you.

4.2 Content generation

Not only for the code part, the food categories, cuisines, dishes, and their descriptions were all generated by Q, wow! It's super handy to have this whenever you want to make some contents that make sense to what you are trying to display. Love it!
 

Comments