From e9646c269ec34205f98026a4bdb53a3394a2be97 Mon Sep 17 00:00:00 2001 From: SiBo Ai <46702223+ai-afk@users.noreply.github.com> Date: Wed, 11 Jun 2025 01:04:56 +0800 Subject: [PATCH] docs: Fix the incorrect code in the openai-chat.adoc document (#3493) Auto-cherry-pick to 1.0.x Signed-off-by: aisibo1 --- .../main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc index 43f5f9469..b6aec2824 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc @@ -632,7 +632,7 @@ OpenAiApi openAiApi = OpenAiApi.builder() .build(); // Create a chat model with the custom OpenAiApi instance -OpenAiChatmodel chatModel = OpenAiChatModel.builder() +OpenAiChatModel chatModel = OpenAiChatModel.builder() .openAiApi(openAiApi) .build(); // Build the ChatClient using the custom chat model