Discussions

Ask a Question
Back to All

KnowledgebaseID

Hello!

I'm testing the Next.js example for implementing an interactive avatar.

it's not using the knowledgeId I'm specifying; instead, it seems to be using the default knowledgeId.

Could you help me?

const res = await avatar.current.createStartAvatar({
quality: AvatarQuality.Low,
avatarName: avatarId,
knowledgeId: knowledgeId, // Or use a custom knowledgeBase
voice: {
rate: 1.5, // 0.5 ~ 1.5
emotion: VoiceEmotion.EXCITED,
// elevenlabsSettings: {
// stability: 1,
// similarity_boost: 1,
// style: 1,
// use_speaker_boost: false,
// },
},
language: language,
disableIdleTimeout: true,
});