kitt
1.0.0
我们推出了一个新版本的Kitt,它是由代理框架构建的。此存储库现已存档。
Kitt是一个由Chatgpt驱动的AI,居住在WEBRTC电话会议中。
GOOGLE_APPLICATION_CREDENTIALS
json主体来自Google Cloud帐户。请参阅https://cloud.google.com/docs/authentication/application-default-credentials#gac要在本地运行,您需要在此存储库中运行两个服务: meet
and lkgt-service
。
在meet/
Directory中,将.env.example
复制到.env.local
并填写您的LiveKit连接详细信息。然后运行:
yarn install && yarn dev
在lkgpt-service/
Directory中,将config-sample.yaml
复制到config.yaml
并填写LiveKit连接详细信息和OpenAI API密钥。然后运行:
go run /cmd/server/main.go --config config.yaml --gcp-credentials-path gcp-credentials.json
两项服务运行后,您可以导航到http:// localhost:3000。在本地运行时,还有一个步骤。部署时,Kitt是通过LiveKit Webhook产生的,但是在本地 - Webhook将无法接触您的正在运行的本地lkgpt-service
。因此,当您进入Meet UI的房间时,您必须手动调用API来产生Kitt,使用URL slug的room_name
。
curl -XPOST http://localhost:3001/join/ < room_name >