In this case, you can use Watson Conversation, and create the Intents with responses based on the food materials.
You'll use the Context variable
to get the food when use types and your application code will do something with this value. In this case, providing the status.
You can create one entity with all food values, and get the value with context
variable with:
{
"context": {
"foodValue": "<? @foodtype ?>"
},
Inside your app, debug the return, you'll see one array if user types more than 1 food value.
And, with this values you'll check and return something for the user, I cant show any example because you does not specify what language you're use.
How to use context variable: click here.
See the official for call the API documentation.
See the official documentation about Conversation Service.
Check one project with Weather example from IBM Developer, this project gets the City from user typed and with this data do something in the app, in this case, return the Weather.