AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Add SEARCH_LANGUAGE_CODE env configuration and support search google with google translation.

Open Jun10ng opened this issue 1 year ago • 13 comments

https://github.com/Significant-Gravitas/Auto-GPT/issues/1629

Jun10ng avatar Apr 16 '23 03:04 Jun10ng

requirements.txt conflicts.

richbeales avatar Apr 16 '23 05:04 richbeales

requirements.txt conflicts.

@azure1016 @richbeales Resolved conflicts

Jun10ng avatar Apr 16 '23 06:04 Jun10ng

googletrans lib has an issue which across many version(I encountered it from 3.0 -> 4.0) https://github.com/ssut/py-googletrans/issues/234 so I decided to change my implementation to a simple way

Jun10ng avatar Apr 16 '23 08:04 Jun10ng

@Jun10ng There are more linter errors

nponeccop avatar Apr 16 '23 16:04 nponeccop

what's the chinese SEARCH_LANGUAGE_CODE?zh_CN,is it correct?

sakurafly123 avatar Apr 17 '23 15:04 sakurafly123

what's the chinese SEARCH_LANGUAGE_CODE?zh_CN,is it correct?

简体中文 zh-CN,繁体zh-TW

sakurafly123 avatar Apr 17 '23 15:04 sakurafly123

sakurafly123

zh-CN

Jun10ng avatar Apr 17 '23 15:04 Jun10ng

sakurafly123

zh-CN

老哥你只是搜索的时候准备把母语翻译成英语搜索,你会把结果再翻译回母语吗

sakurafly123 avatar Apr 17 '23 16:04 sakurafly123

@sakurafly123 This PR only supports translating google search input text, From English to SEARCH_LANGUAGE_CODE( like zh-CN) And this PR https://github.com/Significant-Gravitas/Auto-GPT/pull/1880 support outputs(Think, Action and so on) in multi-language.

Jun10ng avatar Apr 17 '23 16:04 Jun10ng

Hi @nponeccop, could add this PR into PR7 also? I think this feature would have a better effect with another feature ai_output_language_code, user can input and output in their native language.

Jun10ng avatar Apr 18 '23 02:04 Jun10ng

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Apr 19 '23 17:04 github-actions[bot]

This is a mass message from the AutoGPT core team. Our apologies for the ongoing delay in processing PRs. This is because we are re-architecting the AutoGPT core!

For more details (and for infor on joining our Discord), please refer to: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting

p-i- avatar May 05 '23 00:05 p-i-

I'd also like to add that I don't believe the repository is looking to add localization quite yet, at least not until the end of the re-arch.

anonhostpi avatar May 05 '23 05:05 anonhostpi

Relates to #1563

kinance avatar May 23 '23 13:05 kinance

Closing this together with #1880, for the same reason:

see https://github.com/Significant-Gravitas/Auto-GPT/pull/1880#issuecomment-1711601610

Pwuts avatar Sep 08 '23 12:09 Pwuts