LLMs.txt
什么是 LLMs.txt?
Section titled “什么是 LLMs.txt?”我们支持 LLMs.txt 文件,使 Aptos 文档可供大型语言模型 (LLMs) 使用。 此功能帮助 AI 工具更好地理解 Aptos 区块链、其 Move 语言、SDK 和开发模式。
我们提供以下 LLMs.txt 路由来帮助 AI 工具访问我们的文档:
- llms.txt - 包含 Aptos LLMs.txt 文件的结构化概述
- llms-small.txt - 提供文档的压缩版本,针对较小的上下文窗口进行了优化
- llms-full.txt - 提供所有 Aptos 概念的完整综合文档
与 AI 工具的使用
Section titled “与 AI 工具的使用”Cursor
Section titled “Cursor”在 Cursor 中使用 @Docs
功能将 LLMs.txt 文件包含在您的项目中。这有助于 Cursor 为 Aptos 开发提供更准确的代码建议和文档。
GitHub Copilot
Section titled “GitHub Copilot”GitHub Copilot 可以利用这些 LLMs.txt 文件中的信息,在开发 Aptos 应用程序时提供更好的帮助。您可以在 GitHub Copilot Chat 中使用以下 URL 引用这些文件:
https://aptos.dev/llms.txthttps://aptos.dev/llms-small.txthttps://aptos.dev/llms-full.txt
Windsurf
Section titled “Windsurf”使用 @
或在您的 .windsurfrules
文件中引用 LLMs.txt 文件,以增强 Windsurf 对 Aptos 开发的理解。
其他 AI 工具
Section titled “其他 AI 工具”任何支持 LLMs.txt 的 AI 工具都可以使用这些路由来更好地理解 Aptos。只需将您的工具指向上述任何路由即可。