Glossary: Building with LLMs Basics
ValidationError
Also written: model_validate_json
The Pydantic exception raised when data doesn't fit the model, listing every problem. `model_validate_json` parses a JSON string and raises it on failure.
Glossary: Building with LLMs Basics
Also written: model_validate_json
The Pydantic exception raised when data doesn't fit the model, listing every problem. `model_validate_json` parses a JSON string and raises it on failure.