ChatChain

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
tiandatong
Denně instalací
0
Celkem instalací
72
Hodnocení
0 0 0
Verze
1.0
Vytvořeno
21. 02. 2023
Aktualizováno
21. 02. 2023
Size
6,5 KB
Licence
MIT
Spustit na

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


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

该脚本拦截聊天输入框的提交按钮,当用户按下该按钮时,它将使用Google翻译将输入的文本翻译成英文。翻译后的文本将作为聊天消息发送。

该脚本还设置了变异观察器,以监视DOM的更改并重新翻译回复。

由于翻译会影响对话进入翻译模式,因此该脚本使用Google翻译而不是ChatGPT本身。目前,由于Google的API限制,该脚本只支持短文本,通常只能翻译一句话。

您可以使用前缀 "'默认模式|', 'default|', 'd|' 跳过翻译,使用前缀 ['切换模式', 'toggle', 't'] 切换翻译模式。


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.