You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was demonstrating chef to my wife, and she said something to the effect of: "What I really need is a way to look up recipes by their ingredients, so that I can choose what recipe to make based on the ingredients that I have."
I've written a basic indexer with the help of Claude.ai, which is available here, but my rust skills are pretty limited, so I'm not confident in my ability to integrate it into the main program.
If this is something you are interested in, go ahead and use it, no offense if it doesn't match your plans.
The text was updated successfully, but these errors were encountered:
Hello, thanks for taking the time. I know search in chef is very basic right now. The search by ingredient is something I wanted to implement originally but didn't do it because it creates another problem that needs to be solved or it can give limited results.
When we write a recipe in cooklang we integrate the ingredients in the recipe. For example two recipes may can for tomatoes:
Add @tomatoes{3}
Add a @tomato
Both recipes call for tomatoes, but the word for the ingredient is different. This is just and example and for other ingredients there are variants that are more than just the plural. So when you search for recipes with "tomato" the "tomatoes" one won't show up with a naive implementation.
My preferred way to solve this is to have another file that link or groups the ingredients. There is already a file in the cooklang spec that does a similar thing but only to create a shopping list. The cooklang language is working towards a new version and I think is the right time to address this issue (thanks for reminding me now) I think about how to do it and make a proposal.
I was demonstrating chef to my wife, and she said something to the effect of: "What I really need is a way to look up recipes by their ingredients, so that I can choose what recipe to make based on the ingredients that I have."
I've written a basic indexer with the help of Claude.ai, which is available here, but my rust skills are pretty limited, so I'm not confident in my ability to integrate it into the main program.
If this is something you are interested in, go ahead and use it, no offense if it doesn't match your plans.
The text was updated successfully, but these errors were encountered: