Compare commits

...

2 Commits

Author SHA1 Message Date
raojianb
a0a0a7235d feat: support knwoledge base 2024-09-25 19:52:38 -07:00
raojianb
3b005357cd feat: support knwoledge base 2024-09-25 19:46:07 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ export default function InteractiveAvatar() {
const res = await avatar.current.createStartAvatar({
quality: AvatarQuality.Low,
avatarName: avatarId,
knowledgeId: knowledgeId,
knowledgeId: knowledgeId, // Or use a custom `knowledgeBase`.
voice: {
rate: 1.5, // 0.5 ~ 1.5
emotion: VoiceEmotion.EXCITED,

View File

@@ -10,7 +10,7 @@
},
"dependencies": {
"@ai-sdk/openai": "^0.0.34",
"@heygen/streaming-avatar": "^2.0.2",
"@heygen/streaming-avatar": "^2.0.3",
"@nextui-org/button": "2.0.34",
"@nextui-org/chip": "^2.0.32",
"@nextui-org/code": "2.0.29",