Skip to Content
FastAPIで生成型AIサービスを作る
book

FastAPIで生成型AIサービスを作る

by Alireza Parandeh
April 2025
Intermediate to advanced
530 pages
7h 52m
Japanese
O'Reilly Media, Inc.

Overview

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

生成型 AI を使って、実運用レベルのアプリケーションを作りたいと思ってる?この実践的なガイドでは、FastAPI Web フレームワークを使って AI サービスの設計とデプロイをする方法を詳しく説明してるよ。テキスト、画像、音声、ビデオを処理するモデルを、データベース、ファイルシステム、Web サイト、API とシームレスに連携させる方法を学べるよ。Web 開発者、データサイエンティスト、DevOps エンジニアなど、この本を読めば、スケーラブルなリアルタイム AI アプリケーションを作るためのツールを身につけられるよ。

著者である Alireza Parandeh は、認証、並行処理、キャッシュ、ベクトルデータベースを使った検索拡張生成 (RAG) について、わかりやすい説明と実践的な例を紹介してるよ。AI の出力のテスト、パフォーマンスの最適化、マイクロサービスのセキュリティ確保のベストプラクティスも学べるよ。Docker を使ったコンテナ化されたデプロイで、AI 搭載のアプリケーションをクラウドで自信を持って立ち上げることができるようになるよ。

  • データベース、ファイルシステム、Web サイト、API と連携する生成型 AI サービスを構築

  • AI ワークロードの同時実行を管理し、長時間実行タスクを処理

  • WebSocket およびサーバ送信イベントを介して、AI によって生成された出力をリアルタイムでストリーミング

  • 認証、コンテンツフィルタリング、スロットリング、レート制限によるサービスのセキュリティ確保

  • キャッシュ、バッチ処理、微調整のテクニックで AI のパフォーマンスを最適化

この本の Web サイトを見てみてね。

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ファストAPI

ファストAPI

Bill Lubanovic
DevOpsのためのPython

DevOpsのためのPython

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu

Publisher Resources

ISBN: 9798341640627