[FeatureAsk] Instantiating a model config for Azure OAI using AAD instead of `api_key`

Open
#3,555 11 comments 0 reactions 1 assignee View on GitHub

@lalala123123 is already working on this.

Since Jul 17, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement long-term
Discussed in https://github.com/microsoft/promptflow/discussions/3552

Originally posted by labeebee July 17, 2024
Hello,

I am trying to use Prompt Flow and my organization has enforced AAD for accessing Azure OAI resources. But I see no way to define a model config using AzureOpenAIModelConfiguration(). Can anyone help?

Dominant language
Python
Stars
11.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/promptflow

All issues in microsoft/promptflow

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.