← Dashboard

Food Database Management

×

How to Add Intelligent Wholefoods

01
Grab the third part as JSON. This is the required starting point.
02
Load the JSON into foodDB.
03
Take the first few records and send them to AI as a sample.
04
Ask AI to modify /admin-ukph-import/ to match the new database structure.
4A
Ensure each new food gets a unique original-source and copy it into source_type.
05
Add the new import script to its own WPCode page and link it in Admin Links.
06
Create a new category sorter (e.g. /admin-sort-intelligent-foods-by-category-ukph/).
07
Copy each category output (ID, cals, name, description) and send to AI.
08
Ask AI to build the MASTER JSON filter (include/exclude/ignore terms).
09
Modify /admin-filter-wholefoods-ukph/ to assign ai_gen based on MASTER JSON.
10
Open Admin Food Manager and inspect new categories.
11
Assign flags (USDA Legacy, USDA Foundation, UKPH).
12
Run AI enrichment to add pseudo‑categories, keywords, diet/intolerance JSON.
13
Review everything in Admin Food Manager.