ChatChain

works like langchain but with ChatGPT(WIP), only support Translate input to English on ChatChain with Google Translate now

目前为 2023-02-21 提交的版本。查看 最新版本

作者
tiandatong
评分
0 0 0
版本
1.0
创建于
2023-02-21
更新于
2023-02-21
大小
6.5 KB
许可证
MIT
适用于

works like langchain but with ChatGPT(WIP), nowtimes, only support Translate input to English on ChatChain with Google Translate

你可能发现ChatGPT 的英文问题会得到更好的回复,所以可以把中文翻译成英文之后再翻译回来,这个脚本可以自动完成这个功能。

It is intended to be used on the chat platform "OpenAI" and adds a feature called "ChatChain". The script intercepts the submit button of the chat input field and when pressed, it translates the entered text into English using Google Translate. The translated text is then sent as a message in the chat.

The script also sets up mutation observers to monitor changes in the DOM and retranslte the reply back.

The script is a work in progress and may have some issues. The author's email is provided in case of any bugs or suggestions.