Skip to content

Conversation

@muhammadyaseen
Copy link
Contributor

This PR adds support for models hosted on Azure Open AI service which would be very useful as the Azure platform is very commonly used by companies and enterprises to deploy and consume AI models.

There is no external dependency needed to be installed as the openai library already provides AsyncAzureOpenAI class which can be used to interact with the API.

I added the functionality in OpenAIClient class with the help of backend param to decide whether to use OpenAI or Azure clients.

The .env.example file was also update as the Azure client requires some additional keys to be set.

@gemini-code-assist
Copy link
Contributor

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@ChenZiHong-Gavin
Copy link
Collaborator

Hi @muhammadyaseen , thanks for adding Azure OpenAI support - this will be very useful。
Before we can merge, please address the Pylint failures.
image

@muhammadyaseen
Copy link
Contributor Author

@ChenZiHong-Gavin Thanks. Sure, will do.

@muhammadyaseen
Copy link
Contributor Author

 uvx pylint --rcfile=.pylintrc baselines/ graphgen/ webui/

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Should be good now I hope.

@ChenZiHong-Gavin
Copy link
Collaborator

Sure, LGTM.

@ChenZiHong-Gavin ChenZiHong-Gavin merged commit f34792c into InternScience:main Nov 21, 2025
3 checks passed
CHERRY-ui8 pushed a commit to CHERRY-ui8/GraphGen that referenced this pull request Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants