Skip to content
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

Change language #747

Open
j3sk0 opened this issue Sep 4, 2024 · 5 comments
Open

Change language #747

j3sk0 opened this issue Sep 4, 2024 · 5 comments

Comments

@j3sk0
Copy link

j3sk0 commented Sep 4, 2024

Hi it would be nice if you could change the language of the result in my case in German

@ccjeff
Copy link

ccjeff commented Sep 5, 2024

+1. Can we have some kind of custom API using gpt3.5 to translate the language? I'd love to look into it but also wonder if anyone has been working on multi-lingual support

@j3sk0
Copy link
Author

j3sk0 commented Sep 13, 2024

Shouldn't you just tell the prompt/workflow to write it in German at the end or use the variable from the language settings in the app user settings?

@Neotastisch
Copy link
Contributor

+1 aswell, if anyone builds the app infrastructure i would be willing to translate everything

@josancamon19
Copy link
Contributor

Guys @j3sk0 @ccjeff @j3sk0
It should be an easy fix, the problem I'm worried is how many edge cases would this cause.

Should be going here https://github.com/BasedHardware/Friend/blob/d63da62a15a89417d1741f1c6b0cade315852d6f/backend/utils/llm.py#L74

And instead of Your task is to provide structure and clarity to the recording transcription of a conversation. The conversation language is {language_code}. Use English for your response. "Use {language_code} for your response.

If one of you would like taking a look, and stress test that in a few languages, happy to merge that PR.

@j3sk0
Copy link
Author

j3sk0 commented Sep 24, 2024

Thank you very much for your answer, I hope someone who has more experience than me will implement it and share instructions with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

4 participants