·
9 min
LLM Function Calling: Building AI Tools with the Claude API
A hands-on guide to LLM function calling: define tools, run the tool-use loop, and build real AI tools in PHP with the Claude API.
5 Articles
A hands-on guide to LLM function calling: define tools, run the tool-use loop, and build real AI tools in PHP with the Claude API.
A practical guide to prompt caching with the Claude API: cache_control, cache-hit verification, and the mistakes that quietly break it.
Learn how to stream LLM response output in a web app with SSE, EventSource, fetch ReadableStream, and a PHP/Laravel server example.
Stop parsing broken LLM JSON. A practical PHP/Laravel guide to reliable structured output using tool calling, schema validation, and retries.
A practical guide to evaluate LLM output: golden datasets, deterministic checks, LLM-as-judge, human review, and regression testing.