Skip to content
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

support for azureADTokenProvider in AzureChatOpenAI #5410

Closed
5 tasks done
ladrians opened this issue May 16, 2024 · 3 comments
Closed
5 tasks done

support for azureADTokenProvider in AzureChatOpenAI #5410

ladrians opened this issue May 16, 2024 · 3 comments
Labels
auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features

Comments

@ladrians
Copy link

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain.js documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain.js rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

Is there a chance to start supporting the azureADTokenProvider value?
Based on this update for v4.41.1 it is available to be used with the AzureOpenAI class.

Error Message and Stack Trace (if applicable)

Not specified, the element is not present to be used.

Description

The request is to add support for the azureADTokenProvider value provided by AzureChatOpenAI; this example from Ms doc on how to use it, it is python but just as an exaple on its usage.

System Info

langchain: 0.1.37

@dosubot dosubot bot added the auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features label May 16, 2024
@ladrians
Copy link
Author

Just for reference this is the new configuration needed for the js counterpart.

@jacoblee93
Copy link
Collaborator

CC @sarangan12 I think your last PR added this?

@jacoblee93
Copy link
Collaborator

I believe this was added in latest, please reopen if not!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features
Projects
None yet
Development

No branches or pull requests

2 participants