Building Generative AI Services with FastAPI
A Practical Approach to Developing Context-Rich Generative AI Applications

PDF · English
Price and availability
PDF eBookUS store
$55.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- O'Reilly Media
- Published
- 15 April 2025
- ISBN
- 9781098160272
- Subjects
- Computer programming / software development, Computer programming / software engineering
About this book
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 APIsManage concurrency in AI workloads and handle long-running tasksStream AI-generated outputs in real time via WebSocket and server-sent eventsSecure services with authentication, content filtering, throttling, and rate limitingOptimize AI performance with caching, batch processing, and fine-tuning techniquesVisit the Book's Website.
Bibliographic data © Gardners Books Ltd.