[Solved] Current OpenAI integration is legacy and is being deprecated by OpenAI

As an alternative Gemini API is performing good. Posting the working solution by @tatiang

Thanks
Abdul