{"product_id":"building-generative-ai-services-with-fastapi-a-practical-approach-to-developing-context-rich-generative-ai-applications-paperback","title":"Building Generative AI Services with Fastapi: A Practical Approach to Developing Context-Rich Generative AI Applications - Paperback","description":"\u003cdiv\u003e\u003cp style=\"text-align: right;\"\u003e\u003ca href=\"https:\/\/reportcopyrightinfringement.com\/\" target=\"_blank\" rel=\"nofollow\"\u003e\u003cb\u003eReport copyright infringement\u003c\/b\u003e\u003c\/a\u003e\u003c\/p\u003e\u003c\/div\u003e\u003cp\u003eby \u003cb\u003eAlireza Parandeh\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eReady to build applications using generative AI? This practical book outlines the process necessary to design and build production grade AI services with a FastAPI web server that communicate seamlessly with databases, payment systems, and external APIs. You'll learn how to develop autonomous generative AI agents that stream outputs in real-time and interact with other models. Web developers, data scientists, and DevOps engineers will learn to implement end-to-end production-ready services that leverage generative AI. \u003c\/p\u003e\u003cp\u003e You'll learn design patterns to manage software complexity, implement FastAPI lifespan for AI model integration, handle long-running generative tasks, perform content filtering, cache outputs, implement retrieval augmented generation (RAG) with a vector database, implement usage\/cost monitoring and tracking, protect services with your own authentication and authorization mechanisms, and effectively control stream outputs directly from GenAI models. You'll explore efficient testing methods for AI outputs, validation against databases, and deployment patterns using Docker for robust microservices in the cloud. \u003c\/p\u003e\u003cul\u003e \u003cli\u003eBuild generative services that interact with databases, external APIs, and more \u003c\/li\u003e\n\u003cli\u003eLearn how to load AI models into a FastAPI lifecycle memory \u003c\/li\u003e\n\u003cli\u003eMonitor and log model requests and responses within services \u003c\/li\u003e\n\u003cli\u003eUse authentication and authorization patterns hooked with generative models \u003c\/li\u003e\n\u003cli\u003eHandle and cache long-running inference tasks \u003c\/li\u003e\n\u003cli\u003eStream model outputs via streaming events and WebSockets into browsers or files \u003c\/li\u003e\n\u003cli\u003eAutomate the retraining process of generative models by exposing event-driven endpoints \u003c\/li\u003e\n\u003c\/ul\u003e \u003cp\u003eAli Parandeh is a Chartered Engineer with the UK Engineering Council and a Microsoft and Google certified developer, data engineer, and data scientist.\u003c\/p\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 528\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 1.07 x 9.19 x 7 IN\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e May 20, 2025\u003c\/div\u003e\n            ","brand":"BooksCloud","offers":[{"title":"Default Title","offer_id":52494537654579,"sku":"9781098160302","price":82.58,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0300\/5595\/6612\/files\/fTj_WAbmh49781098160302.webp?v=1759989196","url":"https:\/\/www.vysn.com\/en-ca\/products\/building-generative-ai-services-with-fastapi-a-practical-approach-to-developing-context-rich-generative-ai-applications-paperback","provider":"VYSN","version":"1.0","type":"link"}