Skip to content

Commit 98ed415

Browse files
committed
Update create assistant page
1 parent 0d38c3e commit 98ed415

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

api-reference/assistant/create-assistant-message.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ The assistant API has the following limits:
99
- 10,000 uses per key per month
1010
- 10,000 requests per Mintlify organization per hour
1111
- 10,000 requests per IP per day
12+
13+
## Suggested usage
14+
15+
For best results, use the [useChat hook from ai-sdk](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat#usechat) to send requests and handle responses.
16+
17+
You can set `fp`, `threadId`, and `filter` in the `body` field of the options parameter passed to the hook.

discovery-openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"enabled": true
2323
},
2424
"summary": "Generate assistant message",
25-
"description": "Generates a response message from the assistant for the specified domain. For best results, use the [useChat hook from ai-sdk](https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat#usechat) to send requests and handle responses. You can set `fp`, `threadId`, and `filter` in the `body` field of the options parameter passed to the hook.",
25+
"description": "Generates a response message from the assistant for the specified domain.",
2626
"parameters": [
2727
{
2828
"name": "domain",

0 commit comments

Comments
 (0)