跳到正文
文章入门

构建检索增强生成(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.

继续学习