Replies: 1 comment
-
|
What we would also need is structured input. We currently pass several strings at once to LLM to improve performance and cost effectivity, but passing additional per-string data is problematic with this. See also #13398 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At my company we have noticed GPT-4o misses the mark on translations for buttons or short titles, and believe the main issue is the model not having enough context. If we could inform the model that a string will go on a purchase button or section title surely it will perform better.
The simplest solution I can see is to expand the prompt to not just add the texts but to include the weblate explanation.
In the case of OpenAI, moving to their structured outputs API might be good to do as well, it should simplify openai.py and reduce token usage.
I'm happy to make a feature request but I wasn't sure if that's the correct next move as I'm not active in this github project.
Beta Was this translation helpful? Give feedback.
All reactions