Using ChatGPT 3.5 Turbo for translating xml

Hi @peter.smetanka92

Welcome to the OpenAI community.

Rather than sending xml, you can parse it on your end and convert it to a json stringified array and send it for translation.

Once you receive the response you can parse it back to json array and repopulate the responses into the original xml.

For the batching part you can get started here: Batching with ChatCompletion Endpoint

2 Likes