跳转到主要内容

章节Cloudflare 开发者文档(免费档)

Ai Search

85 页更新于 11 小时前

开始阅读

本章内容85

  1. 01 Overview import AiSearchOverviewDiagram from " /components/AiSearchOverviewDiagram.astro"; import { CardGrid, Descri... 11 小时前
  2. 02 Wrangler CLI import { WranglerNamespace, WranglerCommand } from "~/components"; 11 小时前
  3. 03 Agents SDK import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; The C... 11 小时前
  4. 04 AI SDK import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; The V... 11 小时前
  5. 05 Agents import { DirectoryListing } from "~/components"; These guides show how to use AI Search from agent and appl... 11 小时前
  6. 06 LangChain import { LinkCard } from "~/components"; LangChain is a framework for building applications with large lang... 11 小时前
  7. 07 API import { DirectoryListing } from "~/components"; 11 小时前
  8. 08 Instances import { DirectoryListing } from "~/components"; Create, list, update, and delete AI Search instances progr... 11 小时前
  9. 09 REST API import { Render } from "~/components"; Use the AI Search REST API to manage instances and sync jobs over HT... 11 小时前
  10. 10 Workers binding import { Render, MetaInfo, Type } from "~/components"; Workers provides a serverless execution environment ... 11 小时前
  11. 11 Items import { DirectoryListing } from "~/components"; Upload, list, and manage individual documents within an AI... 11 小时前
  12. 12 REST API import { Render } from "~/components"; Use the AI Search REST API to upload, list, and manage individual do... 11 小时前
  13. 13 Workers binding import { Render } from "~/components"; Workers provides a serverless execution environment that allows you ... 11 小时前
  14. 14 Metadata filter (legacy) import { FileTree } from "~/components"; This page documents the filter format used by the legacy AutoRAG R... 11 小时前
  15. 15 API Migration import { DirectoryListing } from "~/components"; Migrate from the legacy AutoRAG APIs to the current AI Sea... 11 小时前
  16. 16 REST API migration The AutoRAG API endpoints are the legacy REST API for AI Search. They will continue to work, but all new fe... 11 小时前
  17. 17 Workers binding (legacy) import { Render, MetaInfo, Type } from "~/components"; The env.AI.autorag() binding is the legacy API for ... 11 小时前
  18. 18 Workers binding migration import { WranglerConfig } from "~/components"; The env.AI.autorag() binding is the legacy API for AI Searc... 11 小时前
  19. 19 Search import { DirectoryListing } from "~/components"; Query your AI Search instances with natural language and g... 11 小时前
  20. 20 MCP import { DashButton } from "~/components"; The Model Context Protocol (MCP) endpoint allows AI agents to di... 11 小时前
  21. 21 Public endpoint import { DashButton } from "~/components"; AI Search public endpoints allow you to expose AI Search capabil... 11 小时前
  22. 22 REST API import { Render } from "~/components"; Use the AI Search REST API to query your AI Search instances over HT... 11 小时前
  23. 23 Workers binding import { Render, MetaInfo, Type } from "~/components"; Workers provides a serverless execution environment ... 11 小时前
  24. 24 How AI Search works import AiSearchIndexingDiagram from " /components/AiSearchIndexingDiagram.astro"; import AiSearchQueryingDi... 11 小时前
  25. 25 Concepts import { DirectoryListing } from "~/components"; 11 小时前
  26. 26 Namespaces import { WranglerConfig } from " /components"; import AiSearchNamespacesDiagram from "/components/AiSearchN... 11 小时前
  27. 27 Search modes AI Search supports three search modes: vector, keyword, and hybrid. New instances use hybrid search by defa... 11 小时前
  28. 28 Configuration You can customize how your AI Search instance indexes your data, retrieves results, and generates responses... 11 小时前
  29. 29 Built-in storage Every AI Search instance comes with built-in storage and a built-in vector index, powered by R2 and Vectori... 11 小时前
  30. 30 Data source import { Render } from "~/components"; You can upload files directly to an instance or connect an external ... 11 小时前
  31. 31 R2 import { Tabs, TabItem } from "~/components"; You can connect a Cloudflare R2 bucket as a data source for y... 11 小时前
  32. 32 Authentication headers import { DashButton, Steps } from "~/components"; You can only crawl domains that you have onboarded onto t... 11 小时前
  33. 33 Content selectors import { DashButton, Steps } from "~/components"; Content selectors let you control which parts of a crawle... 11 小时前
  34. 34 Custom metadata You can attach custom metadata to web pages using HTML <meta> tags. AI Search extracts metadata from the ... 11 小时前
  35. 35 Website import { DashButton, Steps } from "~/components"; You can connect a website you own as a data source for yo... 11 小时前
  36. 36 Parse types import { DashButton, Steps } from "~/components"; The parse type controls how AI Search finds the pages to ... 11 小时前
  37. 37 Chunking Chunking is the process of splitting large data into smaller segments before embedding them for search. AI ... 11 小时前
  38. 38 Hybrid search Hybrid search runs vector and keyword search in parallel and merges the results. It requires keyword search... 11 小时前
  39. 39 Indexing import { DirectoryListing } from "~/components"; 11 小时前
  40. 40 Keyword search import { Aside } from "~/components"; Enable keyword search to match chunks that contain your query terms e... 11 小时前
  41. 41 Metadata attributes Use metadata attributes to organize your indexed documents and provide context to guide AI responses. This ... 11 小时前
  42. 42 Path filtering Path filtering allows you to control which files or URLs are indexed by defining include and exclude patter... 11 小时前
  43. 43 Service API token import { DashButton } from "~/components"; A service API token grants AI Search permission to access R2 buc... 11 小时前
  44. 44 Syncing AI Search automatically indexes your content for search. How indexing works depends on your data source. Ex... 11 小时前
  45. 45 Vector search Vector search converts your query into a vector embedding and finds chunks with similar meaning. It is enab... 11 小时前
  46. 46 AI Gateway Every AI Search instance is connected to a Cloudflare AI Gateway. External-provider embedding and reranking... 11 小时前
  47. 47 Models AI Search uses models at multiple stages. You can configure which models are used, or let AI Search automat... 11 小时前
  48. 48 Supported models This page lists all models supported by AI Search and their lifecycle status. :::note[Request model support... 11 小时前
  49. 49 Relevance boosting Boosting lets you bias search results toward documents with specific metadata characteristics. For example,... 11 小时前
  50. 50 Similarity cache Similarity-based caching in AI Search lets you serve responses from Cloudflare's cache for queries that are... 11 小时前
  51. 51 Filtering import { FileTree } from "~/components"; Metadata filtering narrows down search results based on metadata, ... 11 小时前
  52. 52 Retrieval import { DirectoryListing } from "~/components"; 11 小时前
  53. 53 Query rewriting Query rewriting is an optional step in the AI Search pipeline that improves retrieval quality for follow-up... 11 小时前
  54. 54 Reranking Reranking can help improve the quality of AI Search results by reordering retrieved documents based on sema... 11 小时前
  55. 55 Result controls These settings control how many results are returned and the minimum score required. To filter results by m... 11 小时前
  56. 56 System prompt System prompts allow you to guide the behavior of the text-generation models used by AI Search at query tim... 11 小时前
  57. 57 Cloudflare Access import { Steps, Aside, LinkCard, Tabs, TabItem } from "~/components"; A public endpoint is unauthenticated ... 11 小时前
  58. 58 Custom domains import { Aside, LinkCard } from "~/components"; A custom domain serves your public endpoint from a hostname... 11 小时前
  59. 59 UI snippets import { Tabs, TabItem, Steps, DashButton } from "~/components"; You can add AI Search easily into your web... 11 小时前
  60. 60 Public endpoint settings import { DashButton, LinkCard, Aside } from "~/components"; Configure public endpoints to expose your AI Se... 11 小时前
  61. 61 Namespace public endpoints import { Aside, LinkCard } from "~/components"; A namespace can expose its own public endpoint. A single UR... 11 小时前
  62. 62 REST API import { LinkCard, DashButton } from "~/components"; This guide walks you through creating an AI Search ins... 11 小时前
  63. 63 Dashboard import { DashButton, Steps, LinkCard } from "~/components"; This guide walks you through creating an AI Sea... 11 小时前
  64. 64 Get started import { CardGrid, LinkCard } from "~/components"; AI Search is a managed search service. Connect a website... 11 小时前
  65. 65 Python SDK import { LinkCard, DashButton } from "~/components"; This guide walks you through creating an AI Search ins... 11 小时前
  66. 66 Workers binding import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; This ... 11 小时前
  67. 67 CLI import { LinkCard, PackageManagers } from "~/components"; This guide walks you through creating an AI Searc... 11 小时前
  68. 68 Add search to your website import { Render, DashButton, Steps, PackageManagers, LinkCard, } from "~/components"; This tutorial creates... 11 小时前
  69. 69 Bring your own generation model import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; By de... 11 小时前
  70. 70 Show source citations in responses import { PackageManagers, TypeScriptExample, WranglerConfig, } from "~/components"; AI Search returns the s... 11 小时前
  71. 71 Connect your AI Search to an MCP client import { Render, DashButton, Steps, LinkCard } from "~/components"; Every AI Search instance can expose a b... 11 小时前
  72. 72 Fetch and index single web pages import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; This ... 11 小时前
  73. 73 Human-in-the-loop knowledge base updates import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; This ... 11 小时前
  74. 74 How to These guides walk through common AI Search use cases, from no-code setups to full agent applications. Use t... 11 小时前
  75. 75 NLWeb import { YouTube, DashButton } from "~/components"; Enable conversational search on your website with NLWeb... 11 小时前
  76. 76 Multitenancy import { Render, PackageManagers, WranglerConfig, TypeScriptExample, FileTree, LinkCard, } from " /componen... 11 小时前
  77. 77 Search across multiple instances import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; AI Se... 11 小时前
  78. 78 Create a simple search engine import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from "~/components"; This ... 11 小时前
  79. 79 Talk to your knowledge base import { Render, PackageManagers, WranglerConfig, TypeScriptExample, LinkCard, } from " /components"; impor... 11 小时前
  80. 80 Platform import { DirectoryListing } from "~/components"; 11 小时前
  81. 81 Limits & pricing The following limits apply based on your Workers plan: Limit Workers Free Workers Paid AI Search instances ... 11 小时前
  82. 82 Release note import { ProductReleaseNotes } from "~/components"; This release notes section covers regular updates and m... 11 小时前
  83. 83 API error codes When a request to the AI Search API or a public endpoint fails, it returns one of the errors documented on ... 11 小时前
  84. 84 Troubleshooting import { DirectoryListing } from "~/components"; 11 小时前
  85. 85 Indexing error codes After AI Search accepts an upload, sync, or crawl request, it processes your content in the background so i... 11 小时前