chase199600
BBuildShip
•Created by chase199600 on 11/28/2023 in #💬・general
Open AI --> JSON Output
I just sent via support as it was too long for Discord to send
8 replies
BBuildShip
•Created by chase199600 on 11/28/2023 in #💬・general
Open AI --> JSON Output
No worries @Gaurav Chadha . Yes, the output.ingredients is what it tried above, but that yields an “undefined” output.
The full JSON output is:
{
"ingredients": "80g oats, 1 scoop Kino Collagen blueberry muffin protein powder, 50g blueberries, 16g natural peanut butter, 1 cup unsweetened cashew milk, 1/4 tsp of Cinnamon, a pinch of Sea salt",
"instructions": ["Cook the oats with the cashew milk in the microwave for 2-3 minutes", "Add the collagen powder and salt, mix well", "Add the blueberries, cinnamon, peanut butter and some zero calorie maple syrup"]
}
Ingredients is just a string, so I don’t think I need to use [] but maybe it’s the way the output is structured by ChatGPT?
8 replies
BBuildShip
•Created by chase199600 on 11/28/2023 in #💬・general
Open AI --> JSON Output
Hi @Gaurav Chadha it seems like I’m missing something quite simple here but I have failed to realize it. Any advice?
8 replies