I have realised an issue in this code base: When generating several meals in one go,…
Private research annotation
Sign in to add a private research label or note.
Jump to turn (17)
- 1I have realised an issue in this code base: When generating several meals in one
- 2What purpose does rule 7 serve at all, then?
- 3Yes, let's add the new rule.
- 4[Request interrupted by user]
- 5Let's add the new rule, but the way you phrased it above might lead to new probl
- 6Why do we need the first sentence in the new rule? Wouldnt the second sentence s
- 7Then I would like to be even more concrete than "has a limited quantity". As the
- 8And what if we frame the first sentence positivly? "When a pantry item's quantit
- 9Now, 120g of potatoes is not a full serving: it's a full PART of a serving ...
- 10Works better, only the side serving is too small: Use 250g of potatoes as a side
- 11Sounds good. What would the full new rule now be?
- 12Not yet. How does this new rule now interact with the other rules (mainly 2 and
- 13I think the new rule should go directly after rule 2 or rule 3, as it belongs to
- 14Sounds good, let's put it there. Go ahead and implement the new rule.
- 15Would rules 8 and 9 (in the new numbering) not belong after rule 4 (in the new n
- 16Yes, go ahead and reorder.
- 17Let's commit this. You need to pull first, as there were updates on the server.
- User
I have realised an issue in this code base: When generating several meals in one go, with different ingredients, the AI (gemini, when using the API mode) often returns recipes with the same ingredient used in multiple recipes. E.g., it stretches 240 g potatoes over two meals, using 120 g each. This doesn't make much sense. Let's tackle this problem in three steps: 1. Let's figure out scenarios when it does and when it doesn't make sense to distribute one ingredient over different recipes. 2. Let's figure out the root cause for the LLM to distribute the ingredients. 3. Let's find a solution to the root cause.
Assistant
Good question. Let me first read the current prompt logic to understand what instructions the LLM gets.
Assistant