kolbytn / mindcraft

MIT License
1.65k stars 209 forks source link

How to make AI chat another language #154

Closed Dungsenpart closed 3 weeks ago

Dungsenpart commented 2 months ago

I want AI to chat in Vietnamese instead of English, can you help me?

NobleSkye commented 2 months ago

change the prompts to Vietnamese, or at the start of each one say "here is your prompt but you must only reply in Vietnamese" that should make it reply based on the AI model you are using

FantomWolf182 commented 2 months ago

https://github.com/kolbytn/mindcraft/pull/165

This works better, still a work in progress

FantomWolf182 commented 2 months ago

using

I bet this would create a lot of errors with the code the Ai writes because it would bug out and also write the code in that language.

NobleSkye commented 2 months ago

tell it in the coding prompt to write in js, and in English and then for relaying information to the player in the other languages

FantomWolf182 commented 2 months ago

Honestly just easier for it to translate as I did in my PR so it can support many languages without changing prompts

Dungsenpart commented 2 months ago

what is PR that good?

FantomWolf182 commented 2 months ago

PR means pull request. You can take a look here: here

FantomWolf182 commented 3 weeks ago

@Dungsenpart Hey there. Just wanted to inform you that the pull request has been merged and you can now change the bot's language in the settings file. Have fun!

Dungsenpart commented 3 weeks ago

thank you so much <3