Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The idea sounds very natural. I remember that some wiki webpages and AI agents also use this idea: they look at the ToC first and then decide which page to visit next. It makes retrieval feel like function calling. I'm curious about how good the generated ToC is for generic documents.


Thanks, that’s a good point. Yeah, it makes retrieval look like function calling or tool selection, which I guess makes the idea more generic and better suited to current AI systems like MCP.

For the ToC generation quality, you can try our API: https://docs.pageindex.ai/ or the open-sourced version: https://github.com/VectifyAI/PageIndex. I didn’t realize other people were working on similar ideas or had similar packages. It would be great if you could share the links to the AI agent you mentioned. Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: