本文へスキップ
記事初級

RAG(検索拡張生成)AI アプリを作る

Workers AI・Vectorize・D1・Workflows を使い、Cloudflare 上で初めての RAG アプリを構築します。

最終更新
2026年11月19日
元の記事を読む

この紹介文は現在英語版のみです。

Build a fully featured AI app: notes are stored in D1, embedded with Workers AI and indexed in Vectorize, and questions are answered by retrieving the most relevant notes. A Workflow handles indexing new notes, and you can optionally swap in an Anthropic Claude model. (For a fully managed alternative, see AI Search.)

What you’ll learn

  • Add the Workers AI binding
  • Store embeddings with D1 and Vectorize
  • Index notes with a Workflow
  • Query Vectorize and answer with an LLM

Cloudflare products used

Workers AI, Vectorize, D1, Workflows.

Follow the full, step-by-step tutorial in Cloudflare’s documentation.

さらに学ぶ