1Make every section addressable#
Give each section of your pages a stable id, so /page#section scrolls straight to it. This site keeps all its text in one content module, and every section has an anchor.
Reproduce this website's chat: knowledge from your pages, answers that link to them.
Give each section of your pages a stable id, so /page#section scrolls straight to it. This site keeps all its text in one content module, and every section has an anchor.
Write one knowledge-base entry per section, with the section URL as source_url. This site does it with a small script, pnpm kb, that writes a seed folder. Or point Crawl a sitemap at your production site.
pnpm kb # content → seed/org.json + seed/kb/mango-agent-website.json
pnpm agent:seed # load it into the running backendKeep knowledge.link_sources on. Every grounded answer then carries a Read more link to its section. Handle mango:navigate in your router so the chat stays open while visitors read.
Visitors ask a question and land on the exact section that explains it.