How to structure data base?

Hello,
I am trying to build a project using RAG that will recommend certain recipes/foods to me and how to make them easily with my interests and the ingredients I already have. I have stored common ingredient information in my vector database, each vector being a different food. For instance, one vector is “Green Apple, XX grams of sugar, XX etc.”. What I want to do now, is add recipes to the mix such that if I say I want to eat something baked, sweet, and I have green apples, my AI will recommend Apple Pie. How should I structure the recipe information and the ingredient information? Should they be two databases, two pods, or all just stored in the same database. My only concern with the latter is that each ingredient is a different vector, but the recipies could take up many.

Thanks!

1 Like