Hacker News new | past | comments | ask | show | jobs | submit login

This must cost a fortune to run, even with caching but it is amazing that startups are able to compete with Google. Congratulations to the team.

I asked it in expert mode how to make a carrot cake. The first time it gave me an ingredient list (without quantities!) and instructions. The second and third time it gave me just instructions without ingredients. So a disappointing result.




I've found that with GPT one of the simplest ways to get exactly what you want is to ask for JSON. I am building a site that takes a drink name (real or imagined) and gives you back a recipe with an image, ingredients list, mixologist's notes, and instructions. I get the prompt for dall-e and everything else in a single call to gpt-3.5-turbo by asking for the model to complete a JSON object, something like:

  {title: <user submitted>,
   description: <str 150 chars>,
   product_photo_prompt_for_dalle: <str 150 chars never includes the title>,
   ingredients: [<str like '1.5 oz whiskey'>,...],
   instructions: [<str like 'add whiskey and soda to a rocks glass'>,...]
   mixologists_notes: <250 char, public-facing, promotional tone>
  }


At least if you put the two answers together, you got a whole recipe, right? :) lol




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: