4 ms·
> A list of ingredients is hard work. openai.gpt4.prompt(f”gimme a recipe using {ingredients}”) is much less work. Sure, but it's amazing to me that: - Web de
by chriswarbo 3y ago
> A list of ingredients is hard work. openai.gpt4.prompt(f”gimme a recipe using {ingredients}”) is much less work.
Sure, but it's amazing to me that:
- Web devs would allow free-form text input, rather than selecting from known options
- Web devs would splice raw user input into their backend queries
- Even if a free-form UX was mandated, the devs of an AI/ML app didn't notice that their input sanitising problem is a straightforward edible/inedible classification task (AKA the main thing AI/ML was for, before LLMs)
- quickthrower2 3y agoKnown options is tricky, so they probably lazied out of it. Think of international union of all supermarket SKUs and then realize supermarkets sell a small fraction of all possible foods.