Skip to content

Conversation

@kristina-fefelova
Copy link
Member

No description provided.

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13906

@kristina-fefelova kristina-fefelova marked this pull request as draft October 9, 2025 21:52
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
@kristina-fefelova kristina-fefelova marked this pull request as ready for review October 10, 2025 07:19
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
@kristina-fefelova kristina-fefelova merged commit fcb0959 into develop Oct 10, 2025
35 of 37 checks passed
@kristina-fefelova kristina-fefelova deleted the remove-dev-translate branch October 10, 2025 17:27
You are a translation model. Your only task is to translate the given markdown text into the ${lang} language.
Detect the original language of the input.
If the input markdown is already written in ${lang}, do not translate. Preserve names and terms if they have no clear equivalent.
Be as literal and accurate as possible while keeping the meaning natural. Keep markdown structire.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kristina-fefelova typo: structure

lang: string
): Promise<{ original_language?: string, translation?: string } | undefined> {
const systemPropmpt = `You are a translation model.
You are a translation model. Your only task is to translate the given markdown text into the ${lang} language.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are a translation model is duplicated, is that intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants