command
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Nov 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Structured Output Example
This example shows both paths of the agentcore.OutputFormat JSON Schema
contract:
- a model response that validates and is copied into
RunResult.StructuredOutput
- a model response that fails schema validation and aborts with
agentcore.ErrOutputInvalid
Run it from the goagent module:
go run ./examples/structured-output
Verify the example contract:
go test ./examples/structured-output
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.