NLP ingredient parsing not working at all #2546
-
I must have missed a basic memo somewhere, but I can't get NLP ingredient parsing working at all. In my brand new instance of Mealie, I created a new recipe with nothing set up except a name. I disabled "Disable Ingredient Amounts". I then went to "Bulk Add" for ingredients and typed in the following: 1 cup water
1/2 cup sugar The end result looks like this: I then clicked "Parse". First annoyance here is the browser alert that asks me to save before leaving the page (this prompt should disappear in favor of the parse UI being a modal over the recipe view so a user isn't required to save changes): This next page is where I am completely lost:
What I was expecting was Mealie to be smart enough to know that "1" is the quantity, "cup" is the unit, and "sugar" is the food. It's unclear to me if that's the intended behavior or if I'm supposed to manually type all of these into the individual fields first and only when they already exist does Mealie match (and auto select) them. If so, that seems to defeat the purpose IMO, as it'll be a lot of up-front work to type in these ingredients that way. Are my expectations the issue here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The intent is for you to parse the ingredients into your food and unit stores. If you have no foods or units defined, you're not going to get any results You can add foods/units from your data management page (click on your name in the upper left, then click "Manage Data"). Most people opt to seed common foods/units, which you can do from that page as well That's what the "create missing food" button is there for. The parser determined "water" was in that ingredient, but is missing from your food store. It's supposed to do that for units too, but that's broken, I have a PR open to fix that, among other things |
Beta Was this translation helpful? Give feedback.
The intent is for you to parse the ingredients into your food and unit stores. If you have no foods or units defined, you're not going to get any results
You can add foods/units from your data management page (click on your name in the upper left, then click "Manage Data"). Most people opt to seed common foods/units, which you can do from that page as well
That's what the "create missing food" button is there for. The parser determined "water" was in that ingredient, but is missing from your food store. It's supposed to do that for units too, but that's broken, I have a PR open to fix that, among other things