RAG & LLM Systems

Retrieval-augmented generation and LLM agents, built and evaluated like any other ML system: with a test set, measured retrieval, and checked answers.

October 12, 2026 RAG & LLM Systems

Can a Classifier's Confidence Decide Which Clinic Notes a Person Checks? Testing Jev on 140 Visit Notes

I tested Jev, a new model from TypeSafe AI that answers classification questions with probabilities instead of generated text, on 140 made-up visit notes from a fertility and gynecology practice. It labeled 138 correctly in 2.2 seconds for less than half a cent, and with a review threshold of 0.8 both mistakes went to a person while the other 132 notes were all correct.

Text Classification Model Evaluation LLM Evaluation Healthcare Jev Python

September 11, 2026 RAG & LLM Systems

What Changes When a Research Agent Picks Its Own Searches?

I gave my EU AI Act research agent three tools and let the model decide what to search for and when to stop. On 4 questions with 3 runs each, its reports were approved as often as before, for $0.25 a run instead of $0.21. I also turned the reviewer's planted-error test into a gate in GitHub Actions, which first meant measuring how much its verdicts vary, and put the app online on Google Cloud Run with the keys kept out of the code.

AI Agents Tool Calling LLM Evaluation CI/CD Google Cloud EU AI Act Claude Python

September 10, 2026 RAG & LLM Systems

Can a Web Page Take Over an AI Research Agent? Planted Pages on an EU AI Act Example

I planted fake web pages in the sources my research agent reads, some with a false EU AI Act date and some with instructions to AI tools. The agent ignored every instruction, but the false date reached most approved reports, usually with a warning, and three fake legal pages pushed its confidence label to high. One change to how the agent judges a website brought the label down to low.

AI Agents LLM Evaluation AI Security Prompt Injection EU AI Act Claude Python

September 9, 2026 RAG & LLM Systems

How Often Is a Research Agent's Confidence Label Right? 156 Claims Checked Against the EU AI Act

My research agent marks every claim as high, medium or low confidence, based on its sources. I had 156 of its claims checked against official sources. The low-confidence claims were right as often as the high ones, most wrong claims cited good sources but got a detail wrong, and the model's own stated confidence did better than the source-based score.