0
We are using open ai api key for translation for which we are getting incorrect response. For example: when asked to translate English text to Malayalam we are getting output in English and Hindi instead of only malayalam.
EXAMPLE: “translated_text”: “വിവിധ മേഖലയTambém് വിപണി മൂല്യകരണം നടത്തുന്നതിലൂടെ വൈവിധ്യത്തിനായി നിക്ഷേപങ്ങൾ അന്വേഷിക്കുന്ന നിക്ഷേപകർ, പ്രവേശിക്കാൻ ഒരു уникальное വഴി നൽകുന്നു.” ( the above translation has Malayalam and Russian (уникальное) )
Where as when we try the same in local free prompt ( chatGPT) we are getting correct response.
Model used - GPT4o mini
Can someone help help us solve this issue.
PROMPT WE USE - Translate the following content into {target_language}, ensuring that all text, symbols, punctuation, and formatting are preserved exactly as in the original. Handle special characters and formatting details appropriately, and provide the translation in the same format as the original.