From 2b16eab0f50f4b900932208f0798aa6651acccbf Mon Sep 17 00:00:00 2001 From: Jack Ryan <61809814+jackaldenryan@users.noreply.github.com> Date: Tue, 5 Aug 2025 13:40:29 -0500 Subject: [PATCH] Fix Azure OpenAI configuration parameter in README (#807) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change llm_config parameter to config in OpenAIClient and OpenAIRerankerClient examples to match actual API. This resolves TypeError when users follow the Azure OpenAI configuration examples. Fixes: TypeError: OpenAIClient.__init__() got an unexpected keyword argument 'llm_config' 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f03492e6..efafda03 100644 --- a/README.md +++ b/README.md @@ -317,7 +317,7 @@ graphiti = Graphiti( "neo4j", "password", llm_client=OpenAIClient( - llm_config=azure_llm_config, + config=azure_llm_config, client=llm_client_azure ), embedder=OpenAIEmbedder( @@ -327,7 +327,7 @@ graphiti = Graphiti( client=embedding_client_azure ), cross_encoder=OpenAIRerankerClient( - llm_config=LLMConfig( + config=LLMConfig( model=azure_llm_config.small_model # Use small model for reranking ), client=llm_client_azure