Hello @Louis
Thanks for reaching out to us, except the way mentioned above, another solution you may consider is Azure OpenAI Service.
You can leverage GPT-35/GPT-4 models to do so, they are a set of models that improve on GPT-3.5 and can understand as well as generate natural language and code.
I will recommend you do it by completions - The completions endpoint can be used for a wide variety of tasks. It provides a simple but powerful text-in, text-out interface to any of our models. You input some text as a prompt, and the model will generate a text completion that attempts to match whatever context or pattern you gave it.
I hope this helps.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.