docs: Fix the incorrect code in the openai-chat.adoc document (#3493)

Auto-cherry-pick to 1.0.x

Signed-off-by: aisibo1 <aisibo1@jd.com>
This commit is contained in:
SiBo Ai
2025-06-11 01:04:56 +08:00
committed by GitHub
parent b925c50f04
commit e9646c269e

View File

@@ -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