BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
4.22k stars 278 forks source link

Allow language choice for responses #16

Closed fazedordecodigo closed 1 year ago

fazedordecodigo commented 1 year ago

I have noticed that Explanation currently only responds in English. It would be possible to allow users to choose the language of the response to make it more user-friendly for more people.

steve8708 commented 1 year ago

Good idea. We could make this a config, and add one simple line to the prompt like

Please reply in ${language}
steve8708 commented 1 year ago

Interested in sending a PR?

fazedordecodigo commented 1 year ago

I am interested in sending PR yes. Thought I'd start adding unit tests and refactoring, what do you think?

steve8708 commented 1 year ago

That would be great!

sfmqrb commented 1 year ago

Is anyone working on this?

qihangnet commented 1 year ago

@steve8708 I have sent a PR #62 ai-shell-multi-languages

steve8708 commented 1 year ago

Released in version 0.1.20!