Fixed Azure OpenAI compatibility
This PR adds compatibility fixes for Azure OpenAI.
[!IMPORTANT] Add Azure OpenAI compatibility by integrating
AsyncAzureOpenAIand updating client configurations ingraphiti.pyandgraphiti_mcp_server.py.
- Azure OpenAI Integration:
- Import
AsyncAzureOpenAIingraphiti.pyandgraphiti_mcp_server.py.- Use
AsyncAzureOpenAIfor Azure OpenAI API setup inGraphitiLLMConfig.create_client().- Configuration Changes:
- Modify
GraphitiLLMConfig.from_env()to handle Azure-specific environment variables.- Update
GraphitiLLMConfig.create_client()to support managed identity and API key authentication for Azure.- Client Initialization:
- In
graphiti.py, initializeOpenAIEmbedderwithembedderclient.- In
graphiti_mcp_server.py, adjustGraphitiinitialization to use Azure clients if configured.This description was created by
for d1fffe53e98a469b334f13c92109ec409690c038. You can customize this summary. It will automatically update as commits are pushed.
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.
I have read the CLA Document and I hereby sign the CLA
Closing due to lack of response. We've also made significant Azure updates since this PR was submitted.