ChatChain

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

Versión del día 21/02/2023. Echa un vistazo a la versión más reciente.

Autor
tiandatong
Calificaciones
0 0 0
Versión
1.0
Creado
21/02/2023
Actualizado
21/02/2023
Tamaño
6.53 KB
Licencia
MIT
Funciona en

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.