File size: 1,768 Bytes
fd92eae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
083b448
 
 
 
 
fd92eae
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Healthy Eating Advisor — Knowledge Pack

Corpus from Heidi Boudro's July 29 2026 RAG materials, organized by advisor persona.

## Layout

| Folder | Advisor | Topics |
|--------|---------|--------|
| `kitchen_coach/` | Kitchen Coach | Clean eating, whole vs processed foods, sugar, salt, fats, lunch packing |
| `veggie_chef/` | Veggie Chef | Vegetable benefits, recipes, brassicas, nightshades, prep methods |
| `fruit_maven/` | Fruit Maven | Fruits, juices, blueberries, pomegranate, plantains |
| `superfoods_superman/` | Superfoods Superman | Ginger, turmeric, coconut, whey, fish oil, wheatgrass, tart cherries |
| `enzyme_explorer/` | Enzyme Explorer | Enzyme science, digestive enzymes, enzyme diet, related book reviews |
| `book_advisor/` | Book Advisor | Healthy-eating book list and book reviews |

## How RAG is loaded

1. These markdown files ship in the repo (and Docker image under `knowledge/`).
2. On app startup, `knowledge_pack.py` seeds every `*.md` (except README/SOURCES) into a shared Chroma session (`__hea_knowledge_pack__`) so advisors can retrieve Heidi's corpus without a manual upload.
3. Users can still **upload** extra `.md` / PDF files in chat; uploads stay session-scoped and are searched together with the bundled pack.
4. Persona system prompts (from Heidi's materials) also tell each advisor to treat reference materials as perspective-setting educational content, not medical authority.
5. Chroma collection + embedding model are configured in `healthyeating_config.yaml` → `rag:` (`healthy_eating_documents`, `all-MiniLM-L6-v2`).
6. When `DATA_DIR` is set (HF Spaces `/data`), Chroma persistence survives rebuilds.

## Source

- Zip: `RAG July 29 2026` (author materials)
- Also archived under `docs/source-materials/rag/`