-
Notifications
You must be signed in to change notification settings - Fork 45.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting different languages #1563
Comments
I would like to help. |
I guess you can get us the prompt, and then we integrate it. But for now we need to extract the language-specific parts and move into configs |
hi. @nponeccop Here are my thinks about i18n. #1879 |
could i help? |
Hi,
|
Hi there! I would be more than happy to help you with the German language and development tasks. As I noticed that this issue has been labeled as a "good first issue," I would love to dedicate a few hours of my free time each week to working on it. I understand that this issue also requires some discussion. Here are my thoughts on the requirements:
Regarding the technical implementation, it appears that the text parts of the prompts are spread across the codebase. Therefore, it would make sense to identify them and provide them in a central location as a first step. Then, the prompt parts would be transferred to a YAML file with the language abbreviation in its name (e.g., prompt-de-de.yaml). Finally, the prompt file that corresponds to the configuration in the .env file will be read. What do you think about my suggestions? As for the next steps, I'm not quite sure how I can contact the active contributors to this project, aside from submitting issues and pull requests. Would it be best for me to post a PR for an implementation? Please let me know. Thank you! |
+1. Would like to help with the same, and if just language support is needed (customizing prompts), I can help add Bengali support 😄 |
I would like to help adding Urdu Language support on it, if approved. Thankyou! |
Hi there, I will glady help out for the french part of it also |
Hi, I'm available as a French reviewer if needed. |
Hi, I would like to help adding Chinese support. |
Hello there! I hope you're having a great day so far. I just wanted to let you know that I've been working on this project and I'm excited to share my progress with you. You can find my latest updates in my cloned repository at https://github.com/kaiboesefeldt/Auto-GPT/tree/1563-supporting-different-languages. I'm facing some challenges with the prompt fragments being spread over multiple parts of the code, as well as issues with plugins having to handle i18n themselves. Additionally, I'm wondering if translating the entire prompt is really necessary or if the approach suggested by @luneice (simply instructing the AI to respond in a specific language) would be simpler and just as effective. If you have any suggestions or feedback, I would be grateful to hear it. Thank you for your time and support! |
One key file is prompts_en.yaml, which contains the english version of all the prompt templates and snippets I collected so far. The concept is to have such a file for every supported language. So supporting another language would mean to copy prompts_en.yaml to e.g. prompts_zh.yaml and translate all prompt snippets and templates. Please notice that this is still work in progress, but I nevertheless would appreciate some early feedback. |
I guess that could be more simple to dynamically select the used language from the terminal itself. Maybe a "Language" configuration can be added to define that on every task, like:
Leaving "Language" empty, it is set to default (en). |
Please see the comments regarding a feature to support dedicate "prompt profiles" so that people can experiment with different prompt profiles without stepping on anyone's toes: #1874 (comment) |
also see #471 |
Arabic support is needed. I'm available as a reviewer for Arabic if needed. |
I can help with Turkish if it needs. |
I need in italian, can anyone help?? |
Please help me with Italian |
help me with spanish |
I think I will stop working on this issue as my approach seems to be too complicated, because:
|
I can try help you with covering the missing parts + adding translation in Hebrew language. |
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
Duplicates
Summary 💡
A few persons asked for a guide to porting ChatGPT to speak and think in Chinese, but I guess it applies to other languages as well. I personally can supervise Spanish and Ukrainian.
Note that there is a different task of changing the UI to be in other languages. This task is only about the replacement of core prompts.
What we need is fully engineered prompts in different languages, and the ability to select between them.
So, the goal of this issue is to prepare a guide and a code framework for such porting.
Examples 🌈
You can end your goals with "speak in Spanish", and I guess there were some language flags as well
Motivation 🔦
ChatGPT speaks many natural and artificial languages, and it speaks popular languages speaks pretty well. So getting Chinese, Spanish, Hindi, and Arabic support is essential in order for the project to get more testers and contributors.
Or any other relatively popular languages as I guess "what do you mean by Chinese" is a valid question.
The text was updated successfully, but these errors were encountered: