Blog Posts

Search Posts

Showing 2 posts tagged with 'pydantic'

Optimising Query Transformations for Retrieval: A Negative Result

January 09, 2026

Could some form of derivative-free optimisation help with transforming retrieval queries for better RAG?

Pydantic AI Output Validators: Runtime Validation with Dependencies

July 15, 2025

Using Pydantic AI's output validators for runtime validation that depends on context, with automatic retry handling when validation fails.