Partially Initialized Module Openai Has No Attribute Completion, The suggested solution in that issue was to modify the code in azure_openai.