Discussions

Ask a Question
Back to All

Customizing Agents with API calls

We are looking to build custom agent.

  1. We will send photo to create Agent .

  2. For registered user on our site, we will have personalized content (Knowledge) available to the virtual agent.
    So when the user will log on to our system and then we can pass chat session to the agent

  3. We will need to bind the chat session to the knowledge, for this particular user

So each user will have their own chat session created (when they log on to our system, we create chat session and assign the session to this particular user).

In this case each chat will have its own knowledge for that particular user.

Is this possible with the agent api
https://docs.d-id.com/reference/agents-overview

Do i need to create a different chat session every time I user starts conversation for the same user?
If so then how will the agent remember the knowledge/chat from past session?

I was hoping that for each user i create a chat session, bind the knowledge and thats it.

How do i update the chat session with new / update knowledge?