📃 docs: 修正图片

This commit is contained in:
zhiyu1998 2023-04-09 21:46:32 +08:00
parent 72d9396009
commit c23f3c0669
4 changed files with 8 additions and 3 deletions

View File

@ -78,15 +78,18 @@ sudo apt-get install ffmpeg
> **总结文章** > **总结文章**
> eg. #ocr > eg. #ocr
> ![help](./img/example8.webp)
> **代码解释** > **代码解释**
> eg. #ocr解释 > eg. #ocr解释
> ![help](./img/example9.webp) > ![help](./img/example8.webp)
> **代码优化** > **代码优化**
> eg. #ocr优化 > eg. #ocr优化
> **翻译、优化外文**
> eg. #ocr翻译
> ![help](./img/example8.webp)
## 🐤 Q&A ## 🐤 Q&A
哔哩哔哩的SESSDATA 哔哩哔哩的SESSDATA
> >

View File

@ -34,7 +34,7 @@ export class tools extends plugin {
fnc: "trans", fnc: "trans",
}, },
{ {
reg: "^#(ocr|OCR)(解决|解释|优化)?$", reg: "^#(ocr|OCR)(解决|解释|优化|翻译)?$",
fnc: "ocr2anything", fnc: "ocr2anything",
}, },
{ {
@ -194,6 +194,8 @@ export class tools extends plugin {
return "You are now a programming language expert, please tell me what the following code is doing in Chinese. " return "You are now a programming language expert, please tell me what the following code is doing in Chinese. "
case "优化": case "优化":
return "You are now a Clean Code expert, I have the following code, please rewrite it in a cleaner and more concise way to make it easier for my colleagues to maintain the code. Also, delineation of why you want to refactor like this, so that I can add the description of the refactoring method to the Pull Request. Attach code " return "You are now a Clean Code expert, I have the following code, please rewrite it in a cleaner and more concise way to make it easier for my colleagues to maintain the code. Also, delineation of why you want to refactor like this, so that I can add the description of the refactoring method to the Pull Request. Attach code "
case "翻译":
return "I want you to act as an Chinese translator, spelling corrector and improver. I will speak to you in any language and you will detect the language, translate it and answer in the corrected and improved version of my text, in English. I want you to replace my simplified A0-level words and sentences with more beautiful and elegant, upper level English words and sentences. Keep the meaning same, but make them more literary. I want you to only reply the correction, the improvements, then result of Chinese translation and nothing else, do not write explanations. My first sentence is "
default: default:
return "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]." return "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]."
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 65 KiB