Skip to content

Commit dd5757c

Browse files
JabezBrewtzolov
authored andcommitted
Update ollama-chat.adoc
Fix typo in API class name: OpenAiApi -> OllamaApi This commit fixes a typo in the API class name mentioned in the documentation. The previous sentence "Low-level OpenAiApi Client" now correctly reads "Low-level OllamaApi Client."
1 parent 0a3a202 commit dd5757c

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/ollama-chat.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Flux<ChatResponse> response = chatClient.stream(
268268

269269
The `OllamaOptions` provides the configuration information for all chat requests.
270270

271-
== Low-level OpenAiApi Client [[low-level-api]]
271+
== Low-level OllamaApi Client [[low-level-api]]
272272

273273
The link:https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-ollama/src/main/java/org/springframework/ai/ollama/api/OllamaApi.java[OllamaApi] provides is lightweight Java client for Ollama Chat API link:https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion[Ollama Chat Completion API].
274274

0 commit comments

Comments
 (0)