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

Add AZURE_OPENAI_API_VERSION to environment variables for translation #945

Open
Mokason opened this issue Jan 27, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Mokason
Copy link

Mokason commented Jan 27, 2025

Is your feature request related to a problem? Please describe.
Outdated code, result needles extra tokens racking up the cost for translation.

Describe the solution you'd like
Add AZURE_OPENAI_API_VERSION to check if it's equal to version "2024-10-21" or above and skip extra complexity.
The changes ensure that the latest GPT version can handle multilingual content without requiring translation fields,
so any version equal or above version "2024-10-21" can skip those fields.

Describe alternatives you've considered
Removing translation fields and its logic in general.

Additional context
Already done it here, just need to make a pull request.

@dayland dayland added the enhancement New feature or request label Jan 30, 2025
@dayland dayland self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants