Hacker News new | ask | show | jobs
by swyx 712 days ago
regardless how reliable llms are they will never be perfect, so graphrag will error when the RNG gods feel like ruining your day. use pydantic.
2 comments

Have you any insights about whether these python libraries are using extensions for the heavy lifting? Current situation involves layers upon layers of parsing and serializing/deserializing in Python.
sorry what kind of extensions do you mean? im not aware of any. this stuff is just boilerplate
Was looking forward to this. Haven’t looked at the code yet, but yeah - it’s a bit of a red flag that it doesn’t use an established parsing and validation library.
i mean dont throw baby out with bathwater. its research code, take the good chuck the bad.