Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
Stored prompt and completion content

Fields

FieldTypeRequiredDescription
Inputcomponents.InputUnion:heavy_check_mark:The input to the generation — either a prompt string or an array of messages
Outputcomponents.GenerationContentDataOutput:heavy_check_mark:The output from the generation