News for hackers. Stuff that matters.
Re:Show HN: FastGraphRAG – Better RAG using good old PageRank by stephantul on Monday November 18, 2024 @02:01PM (#42175707)
Just out of interest: why is every python file prefixed with an underscore? I’ve never seen it before. Is it to avoid collisions with package imports? e.g. “types”
Re:Show HN: FastGraphRAG – Better RAG using good old PageRank by liukidar on Monday November 18, 2024 @02:04PM (#42175735)
It is to mark the package as private (in the sense that for normal usage you shouldn't need it). We are still writing the documentation on how to customize every little bit of the graph construction and querying pipeline, once that is ready we will expose the right tools (and files) for all of that :) For now just go with `from fast_graphrag import GraphRAG` and you should be good to go :)
Re:Show HN: FastGraphRAG – Better RAG using good old PageRank by dvaun on Monday November 18, 2024 @02:10PM (#42175783)
It’s the standard practice of noting internal/implementation details. Users should stick with the public api exported in __init__.
Re:Show HN: FastGraphRAG – Better RAG using good old PageRank by stephantul on Monday November 18, 2024 @04:35PM (#42177347)
Interesting, thanks! I’ve seen it for importable stuff but never for modules.

I guess I’m getting old