Create chat suggestions
Generate follow-up suggestions for a conversation based on the assistant's capabilities and conversation history.
post/v1/chat/suggestions
Request
- Base URLhttps://api.runbear.io
- AuthHTTP bearer
Request body
Example request
{
"assistant_id": "0fade940-133f-49e6-bf4b-8f662186479b",
"messages": [
{
"role": "assistant",
"content": "I'd be happy to help you write a business plan. A comprehensive business plan typically includes several key sections..."
},
{
"role": "user",
"content": "Can you help me write a business plan?"
}
]
}Response
Default Response
Example response
{
"suggestions": [
"Create a financial projection for the next 3 years",
"Help me outline the marketing strategy section",
"What should I include in the executive summary?"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.