Building Generative AI Services with FastAPI by Alireza Parandeh

Building Generative AI Services with FastAPI

By

  • Genre Internet
  • Publisher "O'Reilly Media, Inc."
  • Released
  • Size 14.85 MB
  • Length 531 Pages

Description

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.

More Alireza Parandeh Books