set_recipe_ingredients_parsed
Parses recipe ingredient lines and binds recognized foods and units to existing taxonomy, enabling shopping list aggregation. Lines with low confidence are stored as free text.
Instructions
Like set_recipe_ingredients, but parses each line and binds food/unit IDs.
ingredients_json is a JSON array of strings. Each is run through
Mealie's NLP parser; recognized food / unit names are matched
against the existing taxonomy (or created if not present), so the
resulting recipe is shopping-list-aggregation-ready.
Lines whose parsed average confidence falls below min_confidence
are stored as free text.
Returns a per-line summary of what was bound vs. left as free text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| ingredients_json | Yes | ||
| min_confidence | No |