Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

Prolog and Patterns

In your recipe_selection.pl file, add the following rules for applying the corresponding filters to the new entities we introduced above. You should define four applyFilter/4 rules where the first argument is instantiated with, respectively, ‘excludeingredient', 'excludeingredienttype', 'excludedietaryrestriction', and 'excludecuisine'. You should note that to implement these rules it is sufficient to simply require the opposite (the negation) of the basic condition that you used for the rule for 'ingredient', etc.

Visuals

You can update the visuals based on what you think will help the user the most. Think about how you can support the implemented capability visually.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…

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.

Info

All done?

Proceed with https://socialrobotics.atlassian.net/wiki/spaces/PM2/pages/2709487945/2025+Designing+and+Developing+Your+Agent#Agent-Capability-9%3A-Confirm-the-Chosen-Recipe