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:
| 方法 | 最适合 | 使用方法 |
|---|---|---|
| 每页 Markdown | 聊天界面(ChatGPT、Claude.ai)和编码助手 | 在任意文档页面 URL 后添加 /index.md。 |
| 复制 Markdown 下拉菜单 | 单页快速提示 | 在任意文档页面顶部点击 复制页面 > 复制 Markdown。 |
| 部分打包 | 项目规则和编码助手 | 将部分级别 llms-*.txt URL 添加到你的 AI 工具配置或通用索引(/llms.txt)中。 |
每页标记
🌐 Per-page markdown
每个文档页面都有一个轻量级的 Markdown 版本,可以通过在页面 URL 后添加 /index.md 访问。例如:
🌐 Every documentation page has a lightweight markdown version accessible by appending /index.md to the page URL. For example:
https://documentation.expo.dev/develop/development-builds/create-a-build/index.md
上述方法在你想要向 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 bundles
在 Expo 上,我们支持 llms.txt 倡议,为大型语言模型(LLM)及使用它们的应用提供文档。以下是可用文档文件的列表。
🌐 At Expo, we support the llms.txt initiative to provide documentation for large language models (LLMs) and apps that use them. Below is a list of documentation files available.
全站打包包
🌐 Site-wide bundles
| 终端点 | 描述 | 大小 |
|---|---|---|
| /llms.txt | 包含所有可用文档文件列表的索引页面。 | ~94 kB |
| /llms-full.txt | Expo 的完整文档,包括 Expo Router、Expo 模块 API、开发过程等。 | ~1.9 MB |
全节打包包
🌐 Section-wide bundles
| 端点 | 描述 | 大小 |
|---|---|---|
| /llms-eas.txt | Expo 应用服务 (EAS) 的完整文档。 | ~974 kB |
| /llms-sdk.txt | 最新 Expo SDK 的完整文档。 | ~2.6 MB |
在寻找已弃用的 Expo SDK 版本吗?
- /llms-sdk-v54.0.0.txt:Expo SDK v54.0.0 的文档
- /llms-sdk-v53.0.0.txt:Expo SDK v53.0.0 文档
- /llms-sdk-v52.0.0.txt:Expo SDK v52.0.0 文档
- /llms-sdk-v51.0.0.txt:Expo SDK v51.0.0 文档