3 ms·
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.
by swyx 2y 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.
- darkteflon 2y agoWas 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.
- swyx 2y agoi mean dont throw baby out with bathwater. its research code, take the good chuck the bad.
- Dowwie 2y agoHave 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.
- swyx 2y agosorry what kind of extensions do you mean? im not aware of any. this stuff is just boilerplate