-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs(azure): update example and readme to use Entra ID #857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| ```ts | ||
| const openai = new AzureOpenAI(); | ||
| import { AzureOpenAI } from 'openai'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm realising now that we don't mention the environment variables the azure client supports, e.g. AZURE_OPENAI_ENDPOINT & AZURE_OPENAI_API_KEY, we should mention these in the README as well. (doesn't block this PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I think CI should run if you target the next branch fyi
Done. |
Changes being requested
Update Azure code examples to use Entra ID instead of API keys.
Additional context & links