SylphAI-Inc / AdalFlow

AdalFlow: The “PyTorch” library to auto-optimize any LLM tasks.
http://adalflow.sylph.ai/
MIT License
1.32k stars 116 forks source link

Added support for AzureAI client service #188

Open adityasugandhi opened 3 weeks ago

adityasugandhi commented 3 weeks ago

Added Support Azure AI, client serivce #92

Now you can use either OPEN_AI_KEY or you can use Azure identity service to directly authenticate to your end points using credentials

hmehta92 commented 2 weeks ago

@adityasugandhi It seems that line 183 to 200, is duplicate of 163 to 180. Also, token in line 178 didn't work for me. I used azure_ad_token_provider instead.

adityasugandhi commented 2 weeks ago

@hmehta92 I have fixed the azure_ad_token provider call, and line 163 to 180 serves for AzureOpenAI, where line 183 to 200 is for AsyncAzureOpenAI.

chainyo commented 1 week ago

Hi, what's the status of this PR? Do you need help @adityasugandhi for anything?

I would like to see this feature implemented asap along with AWS Bedrock as they could serve more companies as they usually go with cloud providers when the other part of the cloud is hosted there.

adityasugandhi commented 1 week ago

@chainyo I am still waiting for the review from the repo owner. @liyin2015

Sure, I will start looking into AWS Bedrock

adityasugandhi commented 1 week ago

@liyin2015 I have made changes