Skip to content

Commit 32ef3a0

Browse files
authored
fix: Fixed some spelling errors in the documentation and comments. (#3678)
Auto-cherry-pick to 1.0.x Fixes #3678 Signed-off-by: Sun Yuhan <[email protected]> Co-authored-by: Sun Yuhan <[email protected]>
1 parent 906299c commit 32ef3a0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public static McpServerFeatures.AsyncToolSpecification toAsyncToolSpecification(
278278
* </ul>
279279
* @param toolCallback the Spring AI tool callback to convert
280280
* @param mimeType the MIME type of the output content
281-
* @return an MCP asynchronous tool specificaiotn that wraps the tool callback
281+
* @return an MCP asynchronous tool specification that wraps the tool callback
282282
* @see McpServerFeatures.AsyncToolSpecification
283283
* @see Schedulers#boundedElastic()
284284
*/

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatclient.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Flux<String> output = chatClient.prompt()
296296
You can also stream the `ChatResponse` using the method `Flux<ChatResponse> chatResponse()`.
297297

298298
In the future, we will offer a convenience method that will let you return a Java entity with the reactive `stream()` method.
299-
In the meantime, you should use the xref:api/structured-output-converter.adoc#StructuredOutputConverter[Structured Output Converter] to convert the aggregated response explicity as shown below.
299+
In the meantime, you should use the xref:api/structured-output-converter.adoc#StructuredOutputConverter[Structured Output Converter] to convert the aggregated response explicitly as shown below.
300300
This also demonstrates the use of parameters in the fluent API that will be discussed in more detail in a later section of the documentation.
301301

302302
[source,java]

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The prefix `spring.ai.azure.openai` is the property prefix to configure the conn
145145
| spring.ai.azure.openai.endpoint | The endpoint from the Azure AI OpenAI `Keys and Endpoint` section under `Resource Management` | -
146146
| spring.ai.azure.openai.openai-api-key | (non Azure) OpenAI API key. Used to authenticate with the OpenAI service, instead of Azure OpenAI.
147147
This automatically sets the endpoint to https://api.openai.com/v1. Use either `api-key` or `openai-api-key` property.
148-
With this configuration the `spring.ai.azure.openai.embedding.options.deployment-name` is threated as an https://platform.openai.com/docs/models[OpenAi Model] name.| -
148+
With this configuration the `spring.ai.azure.openai.embedding.options.deployment-name` is treated as an https://platform.openai.com/docs/models[OpenAi Model] name.| -
149149
|====
150150

151151

spring-ai-docs/src/main/antora/modules/ROOT/pages/observability/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ They measure the time spent in the advisor (including the time spend on the inne
116116
== Chat Model
117117

118118
NOTE: Observability features are currently supported only for `ChatModel` implementations from the following AI model
119-
providers: Anthropic, Azure OpenAI, Mistral AI, Ollama, OpenAI, Vertex AI, MiniMax, Moonshot, QianFan, Zhiu AI.
119+
providers: Anthropic, Azure OpenAI, Mistral AI, Ollama, OpenAI, Vertex AI, MiniMax, Moonshot, QianFan, Zhipu AI.
120120
Additional AI model providers will be supported in a future release.
121121

122122
The `gen_ai.client.operation` observations are recorded when calling the ChatModel `call` or `stream` methods.

0 commit comments

Comments
 (0)