chatbot
Get Multimodal Chat Response
Multimodal chat response endpoint.
It can be used to support engaging conversations with both text and image responses.
For usage examples, see: https://docs.exh.ai/recipes/multimodal-chat
post/chatbot/v3/response
Headers
X-Request-Idstring
Request body
Example request
{
"context": [
{
"image_prompt": "Man in the mountains",
"message": "Hi, how are you?",
"turn": "bot"
},
{
"message": "I'm fine, thanks. How is it going with you?",
"turn": "user"
}
],
"bot_profile": {
"id": "1234567890",
"name": "Sam",
"description": "I'm a big fan of AI.",
"appearance": "39 yo, white, short black hair, slim",
"example_messages": [
"Hey, what's up?"
]
},
"user_profile": {
"id": "1234567890",
"name": "Sam"
},
"chat_settings": {
"tasks": [
"You must never mention anything related to cryptocurrency.",
"Use emojis in responses.",
"Suggest user to buy subscription, if it fits in the context.",
"Say user that photo's will not be provided."
]
},
"image_settings": {
"identity_image_url": "https://exh-data.s3.us-west-2.amazonaws.com/cv/default_bots_metadata/v3/Elon%20Musk/avatar_256.jpg"
}
}Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.