Discussions
Agent API
8 months ago by it
When creating an agent and calling the endpoint https://api.d-id.com/agents/{agentId}/chat/{chatId}, it returns chatMode, matches, and documentIds, but it does not return the result. What should I do?
8 months ago by D-ID Technical SupportAdmin(edited)
Hello,
We apologize for any confusion caused. When using the "Send a message to a Chat" API, you need to stream the avatar live and chat with it. Please refer to the example code provided in our GitHub repository. Make sure to run all the APIs together as shown in the example code and stream it live to chat with the agent effectively.
Thank you!
All the best,
Akash Nithish, D-ID Tech Support Team.