April 9, 2026

AI 智能体默认页面指令

现在为 AI 智能体提供的每个页面都包含一个默认指令,告诉智能体如何以编程方式导航您的文档 — 指向 .md URL、llms.txtllms-full.txt。该指令使用您站点的域名和基础路径自动生成,无需配置。

默认页面指令
For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.example.com/llms.txt. For full documentation content, see https://docs.example.com/llms-full.txt.

您仍然可以使用自定义指令覆盖默认指令,或完全禁用它。

阅读文档

独立搜索组件

使用 @fern-api/search-widget 包在任何 React 站点上嵌入 Ask Fern 的 AI 驱动搜索。该组件呈现一个按钮,点击后打开连接到您文档内容的搜索模态框。它需要 React 19;所有其他依赖项都已打包。

阅读文档