> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify-mintlify-add-hello-world-quickstart-48843.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Assistant message

> Generates a response message from the assistant for the specified domain.

<div id="rate-limits">
  ## 速率限制
</div>

文档助手 API 的限制如下：

* 每个密钥每月最多使用 10,000 次
* 每个 Mintlify 组织每小时最多 10,000 次请求
* 每个 IP 每天最多 10,000 次请求

<div id="suggested-usage">
  ## 建议用法
</div>

为获得最佳效果，请使用 [ai-sdk 的 useChat 钩子](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat#usechat)来发送请求并处理响应。

你可以在传递给该钩子的 options 参数的 `body` 字段中设置 `fp`、`threadId` 和 `filter`。
