-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Optimize translation prompts #126
Optimize translation prompts #126
Conversation
Thank you for raising your pull request and contributing to our Community |
感谢,我把你的提示语放到 reference 后,就极少出现类似的错误了。 |
Thanks, after I put your prompt in reference, similar errors rarely occur. |
❤️ Great PR @MilesHan ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! |
🎉 This PR is included in version 1.20.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.15.2 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.10.1 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.3.2 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.3 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information
#100
I reproduced the issue above. For example, when I use the original prompt to translate the example
en_US.json
I gave, it will appear stably... is not valid JSON
After add
Do not include any additional text or explanations outside the JSON object.Start directly with a left brace and end with a right brace.
,I tested several complex nested JSON files and all of them were translated stably.