This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
AI 代理和大语言模型的文档
AI 代理和大型语言模型访问和使用 Expo 文档的高效方法。
使用以下端点和工具,为 AI 代理和大型语言模型提供对 Expo 文档的访问权限,其所需令牌成本低于获取完整网页。
🌐 Use the following endpoints and tools to give AI agents and LLMs access to Expo documentation at lower token cost than fetching full web pages.
快速开始
🌐 Quick start
选择与你的工具匹配的方法:
🌐 Pick the method that matches your tool:
每页标记
🌐 Per-page markdown
每个文档页面都有一个轻量级的 Markdown 版本,可以通过在页面 URL 后附加 /index.md 或 .md 访问。两个 URL 指向同一个文件。例如:
🌐 Every documentation page has a lightweight markdown version accessible by appending either /index.md or .md to the page URL. Both URLs serve the same file. For example:
上述方法在你想要向 AI 代理提供有关特定主题或页面的上下文时非常有用,而不会让它被该页面的完整 HTML 淹没。
🌐 The above method is useful when you want to give an AI agent context about a specific topic or page without overwhelming it with the full HTML of that page.
文档索引
🌐 Documentation index
Expo 支持 llms.txt 计划,为大型语言模型(LLMs)及使用它们的应用提供文档。
🌐 Expo supports the llms.txt initiative to provide documentation for large language models (LLMs) and apps that use them.
/llms.txt 文件 (~54 kB) 列出了每个文档页面,并附有链接到其 Markdown 版本和简短描述。AI 代理可以利用它来找到任务相关的页面,然后只获取这些页面,而不是将完整文档加载到上下文窗口中。
🌐 The /llms.txt file (~54 kB) lists every documentation page with a link to its markdown version and a short description. An AI agent can use it to discover the relevant pages for a task and then fetch only those pages, instead of loading the complete documentation into its context window.