A real test of comprehension
make a new branch called inclusion_only on github repo. this will be your complete model that has the capability to include all ingredients and such. keep separate so if failing or differing in results of inclusion then we can go back to this branch. this is a base requirement to pass. you need exclusion to do well enough. and then extension to do great.
exclusion should be at minimal excluding ingredients and excluding cuisines
best would be excluding tags as well + whatever you can think of.
exclusion will have to combine MARBEL, Prolog, Python need to most likely change ontology, data needed. we provide some example data with slots this is all exclusion data slots are tagged like the inclusion data.
multiple possible ways to do this and there are pros and cons to all: intent-based approaches, slot-based approaches, rule-based approaches, classifier based approaches.
need collaboration of most parts and multiple group members
need more data chatgpt it. (or any equivalent model) or write it yourself for some reason…
discuss pros and cons of approach - limitations. positives.
make sure to write on start page of the exclusion model.
Test it Out
Try to filter by excluding an ingredient. Verify that the ingredient is not listed on the a50recipeConfirm
page to ensure that the ingredient is not present in a recipe you select. Verify that your agent is also able to filter recipes based on the exclusion of a cuisine or a dietary restriction.
Filter Recipes by Excluding Features
Summary Description
The last extension to increase the capabilities of our agent will look into feature requests that exclude aspects of a recipe. There are many examples of this, but we will focus on user requests that ask for excluding an ingredient (type), for recipes that are not from a particular cuisine (e.g., not from Asia), or do not have a specific dietary restriction (e.g., are not vegan). You are, of course, invited to extend the agent with other similar capabilities to exclude aspects of a recipe.
A: What recipe would you like to cook?
U: I want a recipe without ____ *.
A: Here is a list of recipes that fit your preferences.
insert an ingredient such as salt here
Implementation Tasks Overview
Panel |
---|
panelIconId1f4a1panelIcon:bulb:panelIconText💡bgColor#E6FCFF |
Implement additional helper predicates for filtering recipes. |
Panel |
---|
panelIconId1f440panelIcon:eyes:panelIconText👀bgColor#E3FCEF |
- |