Skip to content

Commit 5cdbc87

Browse files
authored
Update openai-chat.adoc (#951)
* Added a missing semicolon in the sample code in the documentation
1 parent feecca7 commit 5cdbc87

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
@@ -273,7 +273,7 @@ var openAiChatOptions = OpenAiChatOptions.builder()
273273
.withTemperature(0.4)
274274
.withMaxTokens(200)
275275
.build();
276-
var chatModel = new OpenAiChatModel(openAiApi, openAiChatOptions)
276+
var chatModel = new OpenAiChatModel(openAiApi, openAiChatOptions);
277277
278278
279279
ChatResponse response = chatModel.call(

0 commit comments

Comments
 (0)