Writing
Notes on things I'm building or trying to understand. Mostly ML, finance and Python.
4 posts tagged ‘llm’
2026
-
What I learned tagging 600,000 events in SEC filings with an LLM
Notes from building and evaluating an LLM pipeline that tags SEC 8-K filings, including why the quality score only became useful once a separate call did the grading.
-
Optimising Query Transformations for Retrieval: A Negative Result
Could some form of derivative-free optimisation help with transforming retrieval queries for better RAG?
2025
-
Integrating Pydantic AI with Streamlit: Async Challenges and Fragment Optimisations
Trying to use Streamlit's nice chat UI with Pydantic AI
-
Pydantic AI Output Validators: Runtime Validation with Dependencies
Using Pydantic AI's output validators for runtime validation that depends on context, with automatic retry handling when validation fails.