# AI Search AI アプリケーション向けのフルマネージド RAG パイプラインを作成します > 以下のリンクは、各ページの Markdown 版を直接指します。 任意のページは、`index.md` サフィックスなしの URL に `Accept: text/markdown` ヘッダーを付けて取得することもできます(例: `curl -H "Accept: text/markdown" https://developers.cloudflare.com/ai-search/`)。 > > その他の Cloudflare 製品は、[Cloudflare ドキュメントディレクトリ](https://developers.cloudflare.com/llms.txt) を参照してください。 ## 概要 - [概要](https://developers.cloudflare.com/ai-search/index.md): Cloudflare AI Search はマネージド検索サービスです。コンテンツをインデックスし、Workers バインディング、REST API、MCP サーバーから自然言語で問い合わせます。 ## はじめに - [はじめに](https://developers.cloudflare.com/ai-search/get-started/index.md): Cloudflare AI Search で、フルマネージドの検索拡張生成(RAG)パイプラインを作成します。 - [REST API](https://developers.cloudflare.com/ai-search/get-started/api/index.md): REST API で AI Search インスタンスをプログラムから作成します。 - [ダッシュボード](https://developers.cloudflare.com/ai-search/get-started/dashboard/index.md): Cloudflare ダッシュボードで AI Search を作成し、設定します。 - [Python SDK](https://developers.cloudflare.com/ai-search/get-started/python/index.md): Python から AI Search インスタンスの作成、投入、クエリを行います。 - [Workers バインディング](https://developers.cloudflare.com/ai-search/get-started/workers/index.md): Cloudflare Worker から AI Search インスタンスを作成、投入、クエリします。 - [CLI](https://developers.cloudflare.com/ai-search/get-started/wrangler/index.md): コマンドラインから AI Search インスタンスを作成し、管理します。 ## Wrangler CLI - [Wrangler CLI](https://developers.cloudflare.com/ai-search/wrangler-commands/index.md): Wrangler を使い、コマンドラインから AI Search インスタンスを管理します。 ## Agents - [Agents](https://developers.cloudflare.com/ai-search/agent-sdks/index.md): Vercel AI SDK、Cloudflare Agents SDK、LangChain など、エージェントやアプリケーションフレームワークから AI Search を使います。 - [Agents SDK](https://developers.cloudflare.com/ai-search/agent-sdks/agents-sdk/index.md): AI Search インスタンスをプロビジョニングし、コンテンツをインデックスし、ツールで検索する Cloudflare Agent を構築します。 - [AI SDK](https://developers.cloudflare.com/ai-search/agent-sdks/ai-sdk/index.md): Vercel AI SDK から AI Search を使い、TypeScript プロジェクトでインスタンスの作成、コンテンツのインデックス、根拠付きの応答生成を行います。 - [LangChain](https://developers.cloudflare.com/ai-search/agent-sdks/langchain/index.md): LangChain から AI Search を使い、インスタンスの作成、コンテンツのインデックス、CloudflareAISearchRetriever での検索を行います。 ## 設定 - [設定](https://developers.cloudflare.com/ai-search/configuration/index.md): AI Search インスタンスのインデックス作成、結果取得、応答生成をカスタマイズします。 - [データソース](https://developers.cloudflare.com/ai-search/configuration/data-source/index.md): Web サイト、R2 バケットを接続するか、ファイルを AI Search インスタンスへ直接アップロードしてインデックスします。 - [組み込みストレージ](https://developers.cloudflare.com/ai-search/configuration/data-source/built-in-storage/index.md): R2 と Vectorize を基盤とする組み込みストレージを使い、AI Search インスタンスにファイルを直接アップロードします。 - [R2](https://developers.cloudflare.com/ai-search/configuration/data-source/r2/index.md): Cloudflare R2 バケットをデータソースとして接続し、保存済みドキュメントを AI Search でインデックスします。 - [Web サイト](https://developers.cloudflare.com/ai-search/configuration/data-source/website/index.md): 所有するドメインをデータソースとして接続し、AI Search が Web ページをクロールしてインデックスできるようにします。 - [認証ヘッダー](https://developers.cloudflare.com/ai-search/configuration/data-source/website/authentication-headers/index.md): クローラーの各リクエストにカスタム HTTP ヘッダーを付け、認証の背後にあるページを AI Search がインデックスできるようにします。 - [コンテンツセレクター](https://developers.cloudflare.com/ai-search/configuration/data-source/website/content-selectors/index.md): URL の glob パターンと CSS セレクターを組み合わせ、クロールしたページのどの部分をインデックスするかを制御します。 - [カスタムメタデータ](https://developers.cloudflare.com/ai-search/configuration/data-source/website/custom-metadata/index.md): クロールしたページの HTML メタタグからメタデータを抽出し、検索結果をフィルタできるようにします。 - [パースタイプ](https://developers.cloudflare.com/ai-search/configuration/data-source/website/parse-types/index.md): ウェブサイトデータソースで、AI Search がページを見つける方法を選びます。 - [チャンク分割](https://developers.cloudflare.com/ai-search/configuration/indexing/chunking/index.md): 埋め込みと検索のために、AI Search がコンテンツをチャンクへ分割する方法を設定します。 - [ハイブリッド検索](https://developers.cloudflare.com/ai-search/configuration/indexing/hybrid-search/index.md): AI Search でベクトル検索とキーワード検索を組み合わせ、より広く正確な取得結果を得ます。 - [キーワード検索](https://developers.cloudflare.com/ai-search/configuration/indexing/keyword-search/index.md): AI Search で BM25 キーワード検索を有効にし、クエリ語を含むドキュメントを正確に照合します。 - [メタデータ属性](https://developers.cloudflare.com/ai-search/configuration/indexing/metadata/index.md): インデックスしたドキュメントに、組み込みおよびカスタムのメタデータ属性を定義します。 - [パスフィルタリング](https://developers.cloudflare.com/ai-search/configuration/indexing/path-filtering/index.md): 包含と除外のパスパターンを定義し、AI Search がインデックスするファイルや URL を制御します。 - [サービス API トークン](https://developers.cloudflare.com/ai-search/configuration/indexing/service-api-token/index.md): AI Search がインデックス作成のため R2 バケットへ読み取りアクセスできるように、サービス API トークンを作成します。 - [同期](https://developers.cloudflare.com/ai-search/configuration/indexing/syncing/index.md): AI Search が接続したデータソースからコンテンツを自動で同期し、インデックスする仕組みを理解します。 - [ベクトル検索](https://developers.cloudflare.com/ai-search/configuration/indexing/vector-search/index.md): AI Search のベクトル検索を設定し、埋め込みを使って意味的に近いコンテンツを見つけます。 - [モデル](https://developers.cloudflare.com/ai-search/configuration/models/index.md): 埋め込み、生成、リランキング、クエリの書き換えに AI Search が使う AI モデルを設定します。 - [AI Gateway](https://developers.cloudflare.com/ai-search/configuration/models/ai-gateway/index.md): 接続した AI Gateway を通じて、AI Search インスタンスが使う AI モデルを観測し、制御します。 - [対応モデル](https://developers.cloudflare.com/ai-search/configuration/models/supported-models/index.md): AI Search が対応する AI モデルの一覧です。テキスト生成、埋め込み、再ランキングのモデルを確認できます。 - [関連性ブースティング](https://developers.cloudflare.com/ai-search/configuration/retrieval/boosting/index.md): 関連性ブースティングを使い、特定のメタデータを持つドキュメントへ AI Search の結果を寄せます。 - [類似キャッシュ](https://developers.cloudflare.com/ai-search/configuration/retrieval/cache/index.md): 意味の近いクエリの回答をキャッシュして再利用し、AI Search の応答を速くします。 - [フィルタリング](https://developers.cloudflare.com/ai-search/configuration/retrieval/filtering/index.md): クエリ時にメタデータ属性で AI Search の結果を絞り込みます。 - [公開エンドポイントの設定](https://developers.cloudflare.com/ai-search/configuration/retrieval/public-endpoint/index.md): 認証なしの公開 MCP、チャット、検索エンドポイントで AI Search インスタンスを公開します。 - [Cloudflare Access](https://developers.cloudflare.com/ai-search/configuration/retrieval/public-endpoint/cloudflare-access/index.md): AI Search のパブリックエンドポイントをクエリする前に、ID プロバイダーでの認証をユーザーとエージェントに求めます。 - [カスタムドメイン](https://developers.cloudflare.com/ai-search/configuration/retrieval/public-endpoint/custom-domains/index.md): 所有するホスト名(search.example.com など)から、AI Search の公開エンドポイントを提供します。 - [UI スニペット](https://developers.cloudflare.com/ai-search/configuration/retrieval/public-endpoint/embed-search-snippets/index.md): あらかじめ用意された、カスタマイズ可能な検索・チャット用 Web コンポーネントで、Web サイトに AI Search を追加します。 - [名前空間の公開エンドポイント](https://developers.cloudflare.com/ai-search/configuration/retrieval/public-endpoint/namespace/index.md): 名前空間にスコープした 1 つの公開エンドポイントで、複数の AI Search インスタンスを公開します。 - [クエリ書き換え](https://developers.cloudflare.com/ai-search/configuration/retrieval/query-rewriting/index.md): クエリ書き換えを有効にし、ユーザーのクエリを言い換えて AI Search の検索品質を上げます。 - [リランキング](https://developers.cloudflare.com/ai-search/configuration/retrieval/reranking/index.md): AI Search でリランキングを有効にし、取得結果を意味的な関連度で並べ替えます。 - [結果の制御](https://developers.cloudflare.com/ai-search/configuration/retrieval/result-controls/index.md): AI Search が返す結果の件数と、最低スコアのしきい値を制御します。 - [システムプロンプト](https://developers.cloudflare.com/ai-search/configuration/retrieval/system-prompt/index.md): カスタムのシステムプロンプトで、AI Search のクエリ書き換えと応答生成の動きを案内します。 ## ハウツー - [ハウツー](https://developers.cloudflare.com/ai-search/how-to/index.md): 検索エンジンの構築、テナント別検索など、AI Search のユースケースを手順ごとに説明します。 - [Web サイトへ検索を追加する](https://developers.cloudflare.com/ai-search/how-to/add-search-to-your-website/index.md): Web サイトをインデックスする AI Search インスタンスを作成し、UI スニペットコンポーネントで React サイトへ検索バー、チャットバブル、検索モーダルを追加します。 - [独自の生成モデルを使う](https://developers.cloudflare.com/ai-search/how-to/bring-your-own-generation-model/index.md): 取得は AI Search で行い、OpenAI などの外部モデルで応答を生成します。 - [応答に出典の引用を表示する](https://developers.cloudflare.com/ai-search/how-to/chunk-citations/index.md): AI が生成した回答と並べて、出典の引用を表示します。 - [AI Search を MCP クライアントに接続する](https://developers.cloudflare.com/ai-search/how-to/connect-mcp-client/index.md): 組み込みの MCP エンドポイントを使い、インデックス済みコンテンツを任意の MCP クライアントやエージェント向けの検索ツールとして公開します。 - [単一の Web ページを取得してインデックスする](https://developers.cloudflare.com/ai-search/how-to/fetch-and-index-web-pages/index.md): Browser Run の /content エンドポイントで単一 Web ページのレンダリング済み HTML を取得し、AI Search インスタンスの組み込みストレージにアップロードして検索用にインデックスします。 - [ヒューマンインザループのナレッジベース更新](https://developers.cloudflare.com/ai-search/how-to/human-in-the-loop-knowledge-base/index.md): ナレッジベースを検索し、更新案を出すエージェントを構築します。人が各書き込みを承認し、ロールバックできます。 - [NLWeb](https://developers.cloudflare.com/ai-search/how-to/nlweb/index.md): AI Search と NLWeb をデプロイし、Web サイトで会話型の自然言語クエリを使えるようにします。 - [マルチテナンシー](https://developers.cloudflare.com/ai-search/how-to/per-tenant-search/index.md): テナントごとに別インスタンスを使うか、共有インスタンスとメタデータフィルタリングで、各テナントのデータを AI Search 内で隔離します。 - [複数インスタンスを横断して検索する](https://developers.cloudflare.com/ai-search/how-to/search-multiple-sources/index.md): 共有ナレッジベースとテナント固有のナレッジベースを 1 回のクエリで検索し、各結果の出所インスタンスを特定します。 - [シンプルな検索エンジンを作る](https://developers.cloudflare.com/ai-search/how-to/simple-search-engine/index.md): AI Search の Workers バインディングと search メソッドで、シンプルな検索エンジンを作ります。 - [ナレッジベースに話しかける](https://developers.cloudflare.com/ai-search/how-to/talk-to-your-knowledge-base/index.md): Cloudflare Agents の音声パイプラインを使い、AI Search のナレッジベースへ話しかけ、音声で答えを聞く音声エージェントを作ります。 ## REST API - [REST API](https://developers.cloudflare.comhttps://developers.cloudflare.com/api/resources/ai_search/index.md): インスタンス、アイテム、検索操作を管理するための AI Search REST API リファレンスです。 ## api - [REST API](https://developers.cloudflare.com/ai-search/api/instances/rest-api/index.md): Instances REST API を使い、HTTP 経由で AI Search インスタンスと同期ジョブを管理します。 - [Workers binding](https://developers.cloudflare.com/ai-search/api/instances/workers-binding/index.md): Instances の Workers binding を使い、Cloudflare Worker から AI Search インスタンスを管理します。 - [REST API](https://developers.cloudflare.com/ai-search/api/items/rest-api/index.md): Items REST API を使って、AI Search インスタンス内のドキュメントをアップロード、一覧表示、管理します。 - [Workers バインディング](https://developers.cloudflare.com/ai-search/api/items/workers-binding/index.md): Items の Workers バインディングを使い、AI Search インスタンス内のドキュメントをアップロード、一覧表示、管理します。 - [メタデータフィルター(レガシー)](https://developers.cloudflare.com/ai-search/api/migration/autorag-filter-format/index.md): 以前の REST API で使っていた、レガシー AutoRAG メタデータフィルター形式のリファレンスです。 - [REST API の移行](https://developers.cloudflare.com/ai-search/api/migration/rest-api/index.md): レガシーの AutoRAG REST API エンドポイントから、新しい AI Search API エンドポイントへ移行します。 - [Workers binding の移行](https://developers.cloudflare.com/ai-search/api/migration/workers-binding/index.md): 従来の env.AI.autorag() バインディングから、新しい AI Search Workers bindings へアップグレードします。 - [Workers バインディング(レガシー)](https://developers.cloudflare.com/ai-search/api/migration/workers-binding-legacy/index.md): 以前の AI Search インスタンスが使っていた、レガシーの env.AI.autorag() Workers バインディングのリファレンスです。 - [MCP](https://developers.cloudflare.com/ai-search/api/search/mcp/index.md): Model Context Protocol(MCP)エンドポイントを通じて、AI エージェントに AI Search のコンテンツを公開します。 - [公開エンドポイント](https://developers.cloudflare.com/ai-search/api/search/public-endpoint/index.md): 認証なしの公開エンドポイントで、公開アプリに AI Search を組み込みます。 - [REST API](https://developers.cloudflare.com/ai-search/api/search/rest-api/index.md): REST API で HTTP 経由の検索とチャット補完を実行し、AI Search インスタンスをクエリします。 - [Workers バインディング](https://developers.cloudflare.com/ai-search/api/search/workers-binding/index.md): Workers バインディングを使い、Cloudflare Worker から AI Search インスタンスを検索し、チャットします。 ## concepts - [AI Search の仕組み](https://developers.cloudflare.com/ai-search/concepts/how-ai-search-works/index.md): AI Search がコンテンツをインデックスし、ベクトル検索とキーワード検索で結果を取得する仕組みです。 - [名前空間](https://developers.cloudflare.com/ai-search/concepts/namespaces/index.md): AI Search インスタンスを名前空間にまとめ、Workers バインディングから動的に管理します。 - [検索モード](https://developers.cloudflare.com/ai-search/concepts/search-modes/index.md): AI Search のベクトル、キーワード、ハイブリッド検索モードを比較し、適切な取得方法を選びます。 ## platform - [制限と料金](https://developers.cloudflare.com/ai-search/platform/limits-pricing/index.md): Workers の Free プランと Paid プランにおける AI Search の利用制限と料金を確認します。 - [リリースノート](https://developers.cloudflare.com/ai-search/platform/release-note/index.md): Cloudflare AI Search の最近の変更を確認します。 ## troubleshooting - [API エラーコード](https://developers.cloudflare.com/ai-search/troubleshooting/api-error-codes/index.md): API と公開エンドポイントのエラーをトラブルシュートします。 - [インデックス作成のエラーコード](https://developers.cloudflare.com/ai-search/troubleshooting/indexing-error-codes/index.md): 非同期のインデックス作成、同期、クロールのエラーコードを解消します。