Skip to content

Run NLP on an ingredient “note”? #2285

Closed Answered by michael-genson
jecorn asked this question in Q&A
Discussion options

You must be logged in to vote

The disableAmount field is an indicator that, when flagged, tells Mealie to ignore everything other than the note field. This is how recipe parsers generally work (they extract the full ingredient as a single string of text and we put the result in the note)

So, if you're creating a recipe from a JSON file:

  1. put the ingredients as a single string in the "note" field
  2. set the quantity to 1 (if it's more/less than 1, put it in the note, don't change the quantity unless you're manually parsing the ingredient)
  3. set disableAmount to true (this should be default)

If you're going to parse the ingredient notes using the NLP parser, set disableAmount to false and go through the parsing workflow in …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@michael-genson
Comment options

@jecorn
Comment options

@jecorn
Comment options

@jecorn
Comment options

@michael-genson
Comment options

Answer selected by jecorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants