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 >