Skip to content

Commit e2c5208

Browse files
dsyertzolov
authored andcommitted
Correct some grammar typos with 'latter'
1 parent 478f180 commit e2c5208

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ source ./venv/bin/activate
2424
(venv) optimum-cli export onnx --model sentence-transformers/all-MiniLM-L6-v2 onnx-output-folder
2525
----
2626

27-
The snippet exports the https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2[sentence-transformers/all-MiniLM-L6-v2] transformer into the `onnx-output-folder` folder. Later includes the `tokenizer.json` and `model.onnx` files used by the embedding model.
27+
The snippet exports the https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2[sentence-transformers/all-MiniLM-L6-v2] transformer into the `onnx-output-folder` folder. The latter includes the `tokenizer.json` and `model.onnx` files used by the embedding model.
2828

2929
In place of the all-MiniLM-L6-v2 you can pick any huggingface transformer identifier or provide direct file path.
3030

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/structured-output-converter.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
= Structured Output Converter
44

55
NOTE: As of 02.05.2024 the old `OutputParser`, `BeanOutputParser`, `ListOutputParser` and `MapOutputParser` classes are deprecated in favor of the new `StructuredOutputConverter`, `BeanOutputConverter`, `ListOutputConverter` and `MapOutputConverter` implementations.
6-
Later are drop-in replacements for the former ones and provide the same functionality. The reason for the change was primarily naming, as there isn't any parsing being done, but also have aligned with the Spring `org.springframework.core.convert.converter` package brining in some improved functionality.
6+
the latter are drop-in replacements for the former ones and provide the same functionality. The reason for the change was primarily naming, as there isn't any parsing being done, but also have aligned with the Spring `org.springframework.core.convert.converter` package brining in some improved functionality.
77

88
The ability of LLMs to produce structured outputs is important for downstream applications that rely on reliably parsing output values.
99
Developers want to quickly turn results from an AI model into data types, such as JSON, XML or Java Classes, that can be passed to other application functions and methods.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Additionally, you can define and reference multiple functions in a single prompt
189189
image::function-calling-basic-flow.jpg[Function calling, width=700, align="center"]
190190

191191
* (1) perform a chat request sending along function definition information.
192-
The later provides the `name`, `description` (e.g. explaining when the Model should call the function), and `input parameters` (e.g. the function's input parameters schema).
192+
The latter provides the `name`, `description` (e.g. explaining when the Model should call the function), and `input parameters` (e.g. the function's input parameters schema).
193193
* (2) when the Model decides to call the function, it will call the function with the input parameters and return the output to the model.
194194
* (3) Spring AI handles this conversation for you.
195195
It dispatches the function call to the appropriate function and returns the result to the model.

0 commit comments

Comments
 (0)