-
Notifications
You must be signed in to change notification settings - Fork 528
add action to translate readme #151
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
base: main
Are you sure you want to change the base?
Conversation
…emove unnecessary branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First iteration added. Some of the prompts are reaching 16k tokens and hitting the upper limit. Chunking documents will certainly help with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed french translations and it's quite good!
Few questions though:
- Is there a global config file that we can use to set global translations rules, like for example avoid translating specific words?
- Is the cache shared between file, so an exact same paragraph in different files would be translated the same, for consistency? (and less token usage 🙂 )
…for structured output lessons
- Revised the French translation of Ada's example in the RAG lesson to improve clarity and accuracy. - Updated the corresponding JSON translation file to reflect the changes made in the RAG lesson. - Added usage statistics for the RAG lesson translation in the usage log.
The tool supports an "instructions.md" file that gets injected into the prompt.
The cache is repo wide so if two strings match, they will have the same translation. We could also percolate a translation corpus in the future and use it as a template. |
This pull request configure AI-generated translations for french (only lessons and readme) using github actions and github models. Large files are still a bit of a problem, good start.