Microsoft Azure Active Directory Authentication Please note that for the moment, the Microsoft Azure endpoints can only be used for completion, embedding, and fine-tuning operations.įor a detailed example of how to use fine-tuning and other operations using Azure endpoints, please check out the following Jupyter notebooks:
# print the completion print( chat_completion. create( deployment_id = 'deployment-name', model = 'gpt-3.5-turbo', messages =)
api_version = '' # create a chat completion chat_completion = openai.