wwwcojp

Results 2 comments of wwwcojp

I was able to solve this problem using device code flow. https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-desktop-acquire-token-device-code-flow?tabs=python https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-app-registration ```python guidance.llm = guidance.llms.AzureOpenAI(model="text-davinci-003", endpoint="https://", client_id="", authority="https://login.microsoftonline.com/", scopes=["https://cognitiveservices.azure.com/.default"]) ```