Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在总结文本的时候,能否默认翻译成中文? #611

Closed
Benson1997 opened this issue Jan 13, 2024 · 10 comments
Closed

在总结文本的时候,能否默认翻译成中文? #611

Benson1997 opened this issue Jan 13, 2024 · 10 comments

Comments

@Benson1997
Copy link

大佬您好,请问在总结文本的时候,能否默认翻译成中文呢,找了一圈没有找到设置,issue也没找到。

比如youtube的英文字幕,总结出来的还是英文,需要回复“翻译成中文”才行。

辛苦啦,感谢您的时间和耐心🤞

image

@heheda123123
Copy link

我也有同样的问题,每次都是叫他用中文总结

@anuxs
Copy link

anuxs commented Jan 21, 2024

试过把这个插件的语言偏好改成中文吗?我看过源代码,他会自己取你的设置,默认是英文的,你不改成中文,他就是英文的。
就在扩展选项-常规-语言偏好里面设置。不光是修改界面语言,也会影响总结和回答的语言。

@heheda123123
Copy link

试过把这个插件的语言偏好改成中文吗?我看过源代码,他会自己取你的设置,默认是英文的,你不改成中文,他就是英文的。 就在扩展选项-常规-语言偏好里面设置。不光是修改界面语言,也会影响总结和回答的语言。

设置过的
image

@josStorer
Copy link
Owner

这个是gpt本身的能力问题, 实际上已经添加了用中文回复的prompt, 但gpt没有正确处理, 仍然用英文回复了, 当内容有大量英文时会出现, 可能需要改个强化的prompt

@josStorer
Copy link
Owner

如果你找个短点的视频, 应该能够正常生成中文总结

@heheda123123
Copy link

heheda123123 commented Jan 26, 2024

或者能不能内部做下判断呢?
当设置了偏好语言是中文,但是返回的总结内容不是中文时,再请求一遍“用中文总结”或者请求把上面的总结内容翻译成中文。不然我得等响应显示完之后再手动输入“用中文总结”。

@josStorer
Copy link
Owner

josStorer commented Jan 26, 2024

v2.4.9已加强prompt(faf5e87), CI在编译: https://github.com/josStorer/chatGPTBox/releases/tag/v2.4.9

@josStorer
Copy link
Owner

v2.4.9

@Benson1997
Copy link
Author

非常感谢,升级 v 2.4.9 后功能实现了👍👍👍

图片

@heheda123123
Copy link

感谢,问题已解决

mrichtarsky added a commit to mrichtarsky/chatGPTBox that referenced this issue Feb 13, 2024
* origin/master:
  Update OpenAI ChatGPT Turbo models (API) (josStorer#620)
  release v2.4.9
  when opening IndependentPanel, if the latest session has been used, automatically create a new session (josStorer#601)
  presearch support (josStorer#592)
  formattedError (josStorer#572)
  safe markdown renderer (josStorer#609, josStorer#403)
  improve the stability of response language (josStorer#611)
  improve bilibili summary
  fix mounting failure caused by DuckDuckGo's initial rendering delay. josStorer#610
  gpt-4 web DALL·E support
  chore
  improve josStorer#603
  improve markdown styles (josStorer#585)
  fix gpt-4 web unusual activity (josStorer#615)
  fix: bilibili reload (josStorer#603)
  refactor(selection-tools): remove redundant `getPreferredLanguage` calls (josStorer#593)
  Fix GPT-4 model name and confusion in names (josStorer#584)
  chore(deps): bump actions/upload-artifact from 3 to 4 (josStorer#594)
  chore(deps): bump actions/setup-python from 4 to 5 (josStorer#586)
  update readme news
  release v2.4.8
  update core content adapters
  fix eventsource meta (josStorer#579, josStorer#567)
  josStorer#573's patch
  release v2.4.7
  fix josStorer#569 and reduce menu items
  add gpt-3.5-turbo-instruct
  fix global side_panel
  patch to josStorer#564
  Update Claude.ai web to Claude v2.1, fix josStorer#570 (josStorer#573)
  Add ChatGLM API (josStorer#567)
  Optimize Logic in `selection-tools` Module (josStorer#564)
  release v2.4.6
  support for chromium side panel (josStorer#111)
  allow filling in the API Key of CustomModel mode (josStorer#561, previously designed for local offline model or custom server, now you can also use it for regular openai API calls and freely fill in the model name(josStorer#563))
  update for chatgpt3.5 web (josStorer#562, josStorer#551#issuecomment-1803668105, josStorer#543#issuecomment-1803666487)
  Added box for gh pr's and issues (josStorer#558)
  Replace legacy gpt-3.5-turbo-0613 with the latest gpt-3.5-turbo-1106
  Add OpenAI API GPT-4 Turbo Preview
  Turkish readme Translation (josStorer#553)
  chore
  firefox patch
  release v2.4.5
  update build scripts
  force scroll to bottom after submission
  docs: phrase translation according language README_IN
  improve render performance (josStorer#265)
  docs: add Japanese README
  Create .gitattributes
  improve chatgpt web user guide
  release v2.4.4
  improve chatgpt web mode compatibility
  improve chatgpt web user guide
  Add site adapters for Golem, EETimes
  release v2.4.3
  fix safari background (josStorer#512 (comment))
  improve fetchSSE (josStorer#532)
  re-order parse process
  fix: parse sse
  Make summarization work for text/plain content
  chore(deps-dev): bump @babel/traverse from 7.21.4 to 7.23.2
  fix josStorer#539 bing web
  blob file read for gitlab (josStorer#544)
  fix chatgpt web mode arkose_token (josStorer#469, josStorer#543, josStorer#545)
  remove BingImageCreator
  disable poe temporarily
  upgrade caniuse-lite
  remove commands permission
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants