Pavan Rangani

HomeBlogAI & ML

AI & ML

In-depth AI & ML articles by Senior Java Developer Pavan Rangani — practical, production-grade tutorials and engineering deep-dives. 49 articles in this category.

Getting Reliable JSON Out of an LLM

August 18, 2026

The moment you want to use an LLM inside a program rather than a chat window, you need its output as structured data – and “please respond in JSON” plus hope is how you get 3am parse error… Read more

Where Your LLM Bill Actually Goes

August 18, 2026

The first LLM bill is a shock, and the instinct — switch to a cheaper model — is usually the wrong lever. Where the money actually goes: the asymmetry between input and output pricing, the context you… Read more

Using an LLM to Grade an LLM: The Traps

August 18, 2026

You cannot ship an LLM feature without measuring output quality, and hand-grading does not scale. Using an LLM as a judge works — if you know about position bias, self-preference, and the scores that … Read more

← Back to all articles