ChatChain

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

Verze ze dne 21. 02. 2023. Zobrazit nejnovější verzi.

Autor
tiandatong
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 的英文问题会得到更好的回复,所以可以把中文翻译成英文之后再翻译回来,这个脚本可以自动完成这个功能。

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.