File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ var request = ChatRequest.builder("orca-mini")
283283 .build(),
284284 Message.builder(Role.USER)
285285 .withContent("What is the capital of Bulgaria and what is the size? "
286- + "What it the national anthem?")
286+ + "What is the national anthem?")
287287 .build()))
288288 .withOptions(OllamaOptions.create().withTemperature(0.9f))
289289 .build();
@@ -294,10 +294,10 @@ ChatResponse response = ollamaApi.chat(request);
294294var request2 = ChatRequest.builder("orca-mini")
295295 .withStream(true) // streaming
296296 .withMessages(List.of(Message.builder(Role.USER)
297- .withContent("What is the capital of Bulgaria and what is the size? " + "What it the national anthem?")
297+ .withContent("What is the capital of Bulgaria and what is the size? " + "What is the national anthem?")
298298 .build()))
299299 .withOptions(OllamaOptions.create().withTemperature(0.9f).toMap())
300300 .build();
301301
302302Flux<ChatResponse> streamingResponse = ollamaApi.streamingChat(request2);
303- ----
303+ ----
You can’t perform that action at this time.
0 commit comments