This PR allows to use Azure OpenAI implementation. Since the API structure in openAI and Azure openAI is same the client can be initialised by looking at environment variable presence of AZURE_OPENAI_ENDPOINT. If we rely on CompletionFn endpoint then the code will still be more or less copy paste of existing OpenAI completionfn's
This PR allows to use Azure OpenAI implementation. Since the API structure in openAI and Azure openAI is same the client can be initialised by looking at environment variable presence of AZURE_OPENAI_ENDPOINT. If we rely on CompletionFn endpoint then the code will still be more or less copy paste of existing OpenAI completionfn's