Files
herbapi/tools/enrichment
florian.berthold 963f307cfc Add cross-domain interactions (migration 017)
Generic directed links between plant/fungus/insect entities (subject_kind/slug,
predicate, object_kind/slug). Predicates: pollinates, feeds_on, preys_on,
parasitizes, attracts, mycorrhizal_with, grows_on. Interaction model,
db/interactions.rs (flexible filtered query + per-entity lookup, upsert),
/api/v1/interactions + /{kind}/{ref}/interactions routes. Wired into
stats/export/llms. seed_interactions.py: derives preys_on links + curated
pollinator/mycorrhizal/pest links (existence-checked).
2026-06-05 22:01:56 +02:00
..