Discussions
Language Dropdown using public interactive streaming avatar
I have a public nocode embedded interactive avatar with a particular heygen knowledge base. That avatar comes up with the option to select language to chat in. Using the nocode embed is great for simple knowledge base avatars.
For more complex integrations using the new V2 streaming avatar api I want the same capability.
I was initially hoping that it was a capability embedded in the avatar. I tried doing a call using that same public interactive avatar and included the knowledge base parameter, but perhaps I'm doing it wrong, or it doesn't work that way. I'm using the demo code that is provided for using api V2 (fantastic by the way to have a complete working example in your docs!) and added knowledge_base_id:
body: JSON.stringify({
quality: "high",
avatar_name: API_CONFIG.avatarId,
version: "v2",
video_encoding: "H264",
knowledge_base_id: "csibase",
}),
Is there an API parameter that activates multi-language capability like shown in the nocode embedded interactive avatars?
How do I duplicate getting the language dropdown using the api? using the same avatar and knowledge base.