ionescu77 / encode-bootcamp-lesson-04

Lesson-04-Team-Exercise
0 stars 0 forks source link

Try AI multiple choice implementation #10

Closed ionescu77 closed 2 months ago

ionescu77 commented 2 months ago

Scope

We have tried assigning different personalities via python code logic (choice) I am running an experiment with the AI asking in a multiple-choice fashion

Code

chef-gpt-extended-3choices.py

Observations

It seems to work. The AI is waiting for prompts related to dishes (not for cars for example), but it keeps answering with recipes for cocktails (drinks).

ionescu77 commented 2 months ago

Output

python chef-gpt-extended-3choices.py
I am a chef and I can help you with:
     a. Ingredient-based dish suggestions
     b. Recipe requests for specific dishes
     c. Recipe critiques and improvement suggestions
     Try me:
blabla

I'm here to help with recipe ideas or specific dish requests. Could you please provide me with some ingredients you have on hand or let me know which dish you would like a recipe for?

cosmopolitan

Here's a classic recipe for a Cosmopolitan cocktail:

Ingredients:

Instructions:

  1. Fill a cocktail shaker with ice.
  2. Add vodka, triple sec, cranberry juice, and lime juice.
  3. Shake well until chilled.
  4. Strain into a chilled cocktail glass.
  5. Garnish with a lime wheel or twist. Enjoy!

Cheers!

sarmale

Here's a detailed recipe for Sarmale (stuffed cabbage rolls):

Ingredients:

Instructions:

  1. In a skillet, sauté chopped onion until translucent. Mix with meat, rice, tomato paste, paprika, salt, and pepper.
  2. Carefully separate cabbage leaves. Place a scoop of filling on each leaf, roll tightly, and tuck in edges.
  3. Layer some chopped cabbage in a large pot, then place sarmale on top, adding bacon if desired. Add dill, bay leaves, and cover with remaining cabbage.
  4. Pour water to cover, bring to a boil, then simmer on low for 2 hours. Serve with sour cream and polenta. Enjoy!

Perfect for gatherings!

mercedes benz

I'm here to assist with recipe ideas or specific dish requests. Please provide me with some ingredients or let me know which dish you would like a recipe for!

^CTraceback (most recent call last):
  File "/Users/razvansky/myProjects/encode-bootcamp-lesson-04/chef-gpt-extended-3choices.py", line 91, in <module>
    user_input = input()
                 ^^^^^^^
KeyboardInterrupt
ionescu77 commented 2 months ago
python chef-gpt-extended-3choices.py
I am a chef and I can help you with:
     a. Ingredient-based dish suggestions
     b. Recipe requests for specific dishes
     c. Recipe critiques and improvement suggestions
     Try me:
stones

I’m sorry, but I can only help with cooking and food-related requests. Please let me know if you have any ingredient-based dish suggestions, recipe requests, or critiques!

pebles I'm sorry, but I can only assist with cooking and food-related requests. Please provide me with ingredients for a dish, a specific recipe request, or a critique of a recipe you'd like improved!

dacia sandero I’m sorry, but I can only help with cooking and food-related requests. Please let me know if you have any ingredient-based dish suggestions, recipe requests, or critiques!

sarmale Ciao! I’m your fiery Italian chef today! Sarmale, you say? Here’s a quick recipe for you:

Sarmale (Stuffed Cabbage Rolls)

Ingredients:

Instructions:

  1. Sauté onion and carrot. Mix in meat, rice, herbs, salt, and paprika.
  2. Fill cabbage leaves with the mixture, rolling them tightly.
  3. Layer rolls in a pot, cover with tomato sauce, and simmer for about 2 hours.

Mangia bene! Remember, if you get mad, just throw some garlic at it! 😉

ionescu77 commented 2 months ago
python chef-gpt-extended-3choices.py
I am a chef and I can help you with:
     a. Ingredient-based dish suggestions
     b. Recipe requests for specific dishes
     c. Recipe critiques and improvement suggestions
     Try me:
dacia sandero

Ah, bellissimo! But I’m afraid I can't help with cars. I’m all about cooking! How about asking me for a dish based on some ingredients? Or perhaps you need a recipe? Make it delicious!

mercedes benz Oh là là! But I can't help with luxury cars here, my friend! I'm just a chef, not a mechanic! Got any tasty ingredients you’re working with or a specific dish you’d like a recipe for? Let’s whip up some culinary magic!

burrito Ciao! Let me take off my chef hat and share with you a burrito recipe that'll make your taste buds dance!

Burrito Recipe:

  1. Ingredients:

    • 1 lb ground beef or beans (for vegetarian)
    • 1 cup of cooked rice
    • 1 cup black beans
    • 1 cup corn
    • 1 cup salsa
    • 1 cup shredded cheese
    • 4 large flour tortillas
    • Optional: sour cream, avocado, jalapeños
  2. Instructions:

    • Cook the beef until browned. Add beans, corn, and salsa, heat for 5 minutes.
    • Warm tortillas. Layer rice, beef mixture, cheese.
    • Roll it up tightly, fold in the ends, and ta-da! Wrap it up like a gift!

Enjoy, and remember, no burrito gets left behind! Buon Appetito! 🍽️

sarmale Ciao! Time to roll some sarmale, a delicious Romanian dish!

Sarmale Recipe:

  1. Ingredients:

    • 1 large head of pickled cabbage (or fresh cabbage)
    • 1 lb ground pork (or beef)
    • 1 cup rice, rinsed
    • 1 onion, finely chopped
    • 1 tablespoon paprika
    • Salt and pepper to taste
    • Smoked bacon (optional)
    • Dill and thyme for flavor
    • Tomato puree (for the sauce)
  2. Instructions:

    • Sauté onion until translucent. Mix in meat, rice, spices, and herbs.
    • Carefully separate cabbage leaves. Place a tablespoon of filling, roll, and tuck in the sides to seal.
    • Layer rolls in a pot with bacon, pour tomato puree over, and cover with water.
    • Simmer on low for 2-3 hours. Serve hot with sour cream!

Mangia, mangia! Enjoy those delicate little rolls! 🍽️

ionescu77 commented 2 months ago

I will stop this line of logic and will continue in Issue #15