Discussions
knowledgeId does not work
14 days ago by Rohan
I have been trying hard to send the knowledgeId when trying to "createAvatar" SDK function but it does not start with the opening Intro. On the other hand it works with the embded Iframe. Is there any attribute that I am missing.
I have to build the avatar page with SDK only.
Please can anyone help me on this one. Below is the sample code. Npm package 2.0.12
const res = await avatar.current.createStartAvatar({
quality: AvatarQuality.Medium,
avatarName: avatarId,
knowledgeId: "****", <-- hiding actual knowledgeId
voice: {
rate: 1.5,
emotion: VoiceEmotion.EXCITED,
},
language: language,
disableIdleTimeout: false
});