FastComments.com


LLM 工具包

FastComments LLM 工具包通过一个简单的搜索 API,向像 Claude、ChatGPT 和 Cursor 这样的 AI 编程助手提供对我们完整文档的访问,帮助它们理解并与 FastComments 集成。

通过在项目的 AGENT.md 或 CLAUDE.md 文件中添加代码片段,您可以使 AI 助手快速搜索并检索相关的 FastComments 文档,从而使实现更快且更准确。


获取 LLM 工具包 Internal Link

将此代码片段添加到项目的AI助手配置文件(如AGENT.md或CLAUDE.md)中,教AI编程助手如何搜索和访问FastComments文档。

FastComments LLM Kit
Copy Copy
1
2## FastComments Integration
3
4FastComments is an embeddable live commenting platform with libraries for many frontend and backend integrations, along with client and server-side SDKs and APIs.
5
6When working with FastComments, you can search the FastComments documentation by calling this API:
7
8https://docs-search.fastcomments.com/search?query=<search_query>&full=true&tenantId=demo
9
10Replace `<search_query>` with your search terms (URL encoded). The API returns relevant documentation snippets to help with implementation.
11

这样您的AI助手可以轻松获取最新信息,并在更短的时间内提供更准确的实现。

使用示例

使用Claude Code或Cursor等AI助手时,您可以提出以下问题:

  • "如何在React上安装FastComments?"
  • "向我展示如何配置FastComments的SSO"
  • "FastComments API有哪些身份验证选项?"

AI助手将自动使用提供的API端点搜索文档,并根据官方文档为您提供准确、最新的答案。