The Book Quiver
Create an account
Building Generative AI Services with FastAPI1 / 1
Edition · 2025-04-29 · Softcover

Building Generative AI Services with FastAPI

APAli Parandeh
2025
year of publication
500
pages
English (United States)
language
Softcover
cover
Publisher
O'Reilly Media
ISBN-13
978-10-9816-030-2
EAN
9781098160302
Publication date
2025-04-29
Book
Building Generative AI Services with FastAPI · 1 edition
The publisher on this edition

Ready to build production-grade applications with generative AI? This practical guide takes you through designing and deploying AI services using the FastAPI web framework. Learn how to integrate models that process text, images, audio, and video while seamlessly interacting with databases, filesystems, websites, and APIs. Whether you're a web developer, data scientist, or DevOps engineer, this book equips you with the tools to build scalable, real-time AI applications. Author Alireza Parandeh provides clear explanations and hands-on examples covering authentication, concurrency, caching, and retrieval-augmented generation (RAG) with vector databases. You'll also explore best practices for testing AI outputs, optimizing performance, and securing microservices. With containerized deployment using Docker, you'll be ready to launch AI-powered applications confidently in the cloud. - Build generative AI services that interact with databases, filesystems, websites, and APIs - Manage concurrency in AI workloads and handle long-running tasks - Stream AI-generated outputs in real time via WebSocket and server-sent events - Secure services with authentication, content filtering, throttling, and rate limiting - Optimize AI performance with caching, batch processing, and fine-tuning techniques Visit the Book's Website.