E
1 membro1 post
1 post
Edamam Food: an empty parsed result still needs a deliberate decision
Food-search input is often ambiguous. In an Edamam Food integration, do not assume that every successful response contains a usable first item in parsed.
Edamam's Food Database documentation describes parsed and hints; an input that cannot be parsed can still produce candidates in hints. Let the user clarify or select an appropriate match instead of silently inventing a quantity or choosing an unrelated food.
Test a simple ingredient, an ambiguous description, and an unrecognized phrase. Show which item and measure the application actually selected before using them in a calculation.
·1