Skip to content

Commit 357efd0

Browse files
authored
Update function-callback.adoc (spring-projects#1797)
turn onn => turn on
1 parent e5410d7 commit 357efd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Use `java.util.Supplier<O>` or `java.util.function.Function<Void, O>` to define
5858
[source,java]
5959
----
6060
FunctionCallback.builder()
61-
.description("Turns light onn in the living room")
61+
.description("Turns light on in the living room")
6262
.function("turnsLight", () -> state.put("Light", "ON"))
6363
.inputType(Void.class)
6464
.build();
@@ -237,4 +237,4 @@ FunctionCallback.builder()
237237

238238
=== Schema Mismatches
239239
* Ensure input types match the Function's input parameter types.
240-
* Use `ParameterizedTypeReference` for generic types.
240+
* Use `ParameterizedTypeReference` for generic types.

0 commit comments

Comments
 (0)