AGiXT
AGiXT copied to clipboard
Add automatic translations
Add automatic translations
- Added an agent setting for
LANGUAGEthat will allow you to set a language other than English to receive agent responses in.- For example, if your agent's language is set to
ru, it will allow the user to write to the agent in English and receive text output in Russian. This would include the English response as well as the Russian response. - If you're using
ezLocalaior another text to speech provider (will expand on this later) for your agent and have it enabled, you will get an output of what you said in the target language as well as the response audio in the target language.
- For example, if your agent's language is set to
- Improved the function that converts pydantic models to text schemas.
- Currently, the LLM associated with the agent currently is set to handle the text translation, I'm assuming there are significantly better methods for doing this, so the inner workings will likely change to a local language translation module.
The goal of this PR is to assist in the use case of language learning since I've recently taken an interest.