Closed arm-diaz closed 5 months ago
would you give a few examples of how pydantic would help with error handling and debugging with respect to ragas.
if it is for LLM output parsing I agree. We are working out json for this since models are more likely to understand json errors than pydantic
Pydantic is a library that provides data validation and settings management using type annotations.
Official documentation:
Why use Pydantic?
Pydantic can provide better error handling and more visibility of classes, methods, and dependencies across the project.