From bf14cb419d917fdd4b5c361aa0dc3b6055fa068b Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Sun, 9 Apr 2023 18:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C=E6=8C=87=E4=BB=A4=EF=BC=9A#ocr=20=E5=AF=B9=E6=88=AA?= =?UTF-8?q?=E5=9B=BE=E7=9A=84=E5=86=85=E5=AE=B9=E8=BF=9B=E8=A1=8C=E6=80=BB?= =?UTF-8?q?=E7=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index feb47fa..9ea31ce 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -162,7 +162,6 @@ export class tools extends plugin { const ocrRst = await Bot.imageOcr(`${defaultPath}/temp.jpg`); const wordList = ocrRst.wordslist; let prompt = wordList.map(item => item.words); - logger.info(prompt) if (this.openaiAccessToken) { prompt = "Summarize the key points of this article in Chinese and in a list of points. Choose an appropriate emoji for each bullet point. Each bullet point format is [emoji] - [text]." + prompt.join(" ") const response = await this.chatGptClient.sendMessage(prompt);