From eea9b8420042d881e5155dbee6e35b906cfd6f9d Mon Sep 17 00:00:00 2001 From: messo <56037373+m3ss0@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:45:43 +0100 Subject: [PATCH] Fixed typo in ollama-chat.adoc --- .../antora/modules/ROOT/pages/api/chat/ollama-chat.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc index 7b796d647f4..17a6cacd30f 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc @@ -283,7 +283,7 @@ var request = ChatRequest.builder("orca-mini") .build(), Message.builder(Role.USER) .withContent("What is the capital of Bulgaria and what is the size? " - + "What it the national anthem?") + + "What is the national anthem?") .build())) .withOptions(OllamaOptions.create().withTemperature(0.9f)) .build(); @@ -294,10 +294,10 @@ ChatResponse response = ollamaApi.chat(request); var request2 = ChatRequest.builder("orca-mini") .withStream(true) // streaming .withMessages(List.of(Message.builder(Role.USER) - .withContent("What is the capital of Bulgaria and what is the size? " + "What it the national anthem?") + .withContent("What is the capital of Bulgaria and what is the size? " + "What is the national anthem?") .build())) .withOptions(OllamaOptions.create().withTemperature(0.9f).toMap()) .build(); Flux streamingResponse = ollamaApi.streamingChat(request2); ----- \ No newline at end of file +----