Skip to content

Commit 95e9808

Browse files
ai-afkspring-builds
authored andcommitted
docs: Fix the incorrect code in the openai-chat.adoc document (#3493)
Signed-off-by: aisibo1 <aisibo1@jd.com> (cherry picked from commit e9646c2)
1 parent 95ea7f2 commit 95e9808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ OpenAiApi openAiApi = OpenAiApi.builder()
632632
.build();
633633
634634
// Create a chat model with the custom OpenAiApi instance
635-
OpenAiChatmodel chatModel = OpenAiChatModel.builder()
635+
OpenAiChatModel chatModel = OpenAiChatModel.builder()
636636
.openAiApi(openAiApi)
637637
.build();
638638
// Build the ChatClient using the custom chat model

0 commit comments

Comments
 (0)