Discussions

Ask a Question
Back to All

Does knowledgeBase override knowledgeId?

I would like to have a knowledgeId defined online, and then supplement this context with additional user-specific context by passing in the knowledgeBase parameter.


For example, on HeyGen.com, I would have a list of quiz questions with 12 different sections, so I would pass this knowledgeId into the API request. When a user logs back in, I would want them to be able to start at say, section 3. So, I would also pass a knowledgeBase parameter of "Offer to start reviewing questions from section 3".


Unfortunately, it appears that setting knowledgeBase to anything at all causes the avatar to completely forget the instructions that are specified in knowledgeId. I even tried a knowledgeBase parameter of "Do exactly what it says to do in your online knowledgeBase" and still, it was like talking to a blank slate. She had no idea of anything that was in the online knowledge base (specified by knowledgeId).


This is unfortunate. Is there a good reason why these two parameters can't work together? Or is this just a bug i.e. is the API just assuming that if the caller specifies knowledgeBase, they must not want to use knowledgeId, and ignoring it?


Thanks


Joseph