Skip to content

Commit b974497

Browse files
ai-afkchedim
authored andcommitted
docs: Fix the incorrect code in the openai-chat.adoc document (spring-projects#3493)
Auto-cherry-pick to 1.0.x Signed-off-by: aisibo1 <[email protected]>
1 parent e3e343a commit b974497

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)