Compare commits

..

3 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
Joby
d7a7e3174c feat: update dependencies (#20) 2024-09-23 16:14: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({ const res = await avatar.current.createStartAvatar({
quality: AvatarQuality.Low, quality: AvatarQuality.Low,
avatarName: avatarId, avatarName: avatarId,
knowledgeId: knowledgeId, knowledgeId: knowledgeId, // Or use a custom `knowledgeBase`.
voice: { voice: {
rate: 1.5, // 0.5 ~ 1.5 rate: 1.5, // 0.5 ~ 1.5
emotion: VoiceEmotion.EXCITED, emotion: VoiceEmotion.EXCITED,

View File

@@ -10,7 +10,7 @@
}, },
"dependencies": { "dependencies": {
"@ai-sdk/openai": "^0.0.34", "@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/button": "2.0.34",
"@nextui-org/chip": "^2.0.32", "@nextui-org/chip": "^2.0.32",
"@nextui-org/code": "2.0.29", "@nextui-org/code": "2.0.29",