From a822b6dac0d08977129c7c9b305bf0ad0d733937 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 15 Apr 2023 10:45:23 +0200 Subject: [PATCH] [mirotalksfu] - update readme, fix typo --- README.md | 3 ++- app/src/Server.js | 1 + public/js/RoomClient.js | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index acb4c63b..3b0383e0 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,10 @@ - Webcam Streaming up to 4K quality (Front - Rear for mobile). - Echo cancellation and noise suppression that makes your audio crystal clear. - Screen Sharing to present documents, slides, and more ... -- File Sharing (with drag-and-drop), share any files to your participants in the room +- File Sharing (with drag-and-drop), share any files to your participants in the room. - Take a snapshot from the video frame(screen/cam) to save it as an image on your device. - Chat with Emoji Picker to show you feeling, private messages, Markdown support, possibility to Save the conversations, and many more. +- ChatGPT (openAI), designed to answer users' questions, provide relevant information, and connect them with relevant resources. - Speech recognition, execute the app features simply with your voice. - Advance collaborative whiteboard for the teachers. - Select Microphone - Speaker and Video source. diff --git a/app/src/Server.js b/app/src/Server.js index 12b27e20..0fecde02 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -18,6 +18,7 @@ dependencies: { mediasoup : https://www.npmjs.com/package/mediasoup mediasoup-client : https://www.npmjs.com/package/mediasoup-client ngrok : https://www.npmjs.com/package/ngrok + openai : https://www.npmjs.com/package/openai qs : https://www.npmjs.com/package/qs @sentry/node : https://www.npmjs.com/package/@sentry/node @sentry/integrations : https://www.npmjs.com/package/@sentry/integrations diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index 7509c19b..4e5e3bd3 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -2721,6 +2721,7 @@ class RoomClient { }) .then( function (completion) { + if (!completion) return; console.log('Receive message:', completion); this.setMsgAvatar('left', 'ChatGPT'); this.appendMessage(