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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user