AI APIs in Practice
An Independent Guide to Building Reliable, Portable Applications on Model Provider APIs
-
- 0,99 €
-
- 0,99 €
Description de l’éditeur
A practical, independent and multi-provider guide to building applications on model provider APIs in 2026. Calling a model takes a few lines of code; shipping a feature that streams, returns data you can trust, calls tools safely, reads photos and documents, survives rate limits and outages, stays within budget and keeps working when providers change parameters or retire models takes much more. Following one fictional running example, the shared client library and six AI features of an online home-goods retailer, the book shows how each capability looks across several real APIs at the time of writing, including OpenAI's Responses API, Anthropic's Messages API, Google's Gemini API and Amazon Bedrock's Converse API. It covers request and response anatomy, SDKs, authentication and versioning, tokens and output control, streaming, structured outputs, tool calling, multimodal inputs, embeddings, stateless and stateful conversations, batch and background APIs, prompt caching, rate limits, retries and idempotency, error mapping, timeouts and fallbacks, cost control, abstraction layers and portability, key security and data retention terms, and testing and monitoring. Includes Python examples, checklists, a hands-on lab, design-review questions with answers and a glossary.