Skip to content

Commit bc41804

Browse files
authored
doc: Fixes compilation error ini example code in section 3.8.2. (#1388)
Signed-off-by: Jörgen Andersson <jorgen.x.andersson@gmail.com>
1 parent 0c97e4e commit bc41804

File tree

1 file changed

+1
-1
lines changed
  • embabel-agent-docs/src/main/asciidoc/reference/types

1 file changed

+1
-1
lines changed

embabel-agent-docs/src/main/asciidoc/reference/types/page.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ For example:
106106
var story = context.ai()
107107
.withDefaultLlm()
108108
.withToolGroup(CoreToolGroups.WEB)
109-
.withExample("A children's story", new Story("Once upon a time...")) // <1>
110109
.creating(Story.class)
110+
.withExample("A children's story", new Story("Once upon a time...")) // <1>
111111
.fromPrompt("Create a story about: " + input.getContent());
112112
----
113113

0 commit comments

Comments
 (0)