GenerationContentData - Python SDK

GenerationContentData method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Stored prompt and completion content

Fields

FieldTypeRequiredDescription
inputcomponents.InputUnion✔️The input to the generation — either a prompt string or an array of messages
outputcomponents.GenerationContentDataOutput✔️The output from the generation