DocumentRequest - Go SDK

DocumentRequest type definition

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

A structured document with optional text and/or image content. At least one of text or image must be provided.

Fields

FieldTypeRequiredDescriptionExample
Image*stringAn image associated with the document, as a remote URL (http/https) or a base64-encoded data URI (data:image/…).https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Phytogenic.png
Text*stringThe document textAI enables robots to perceive, plan, and act autonomously.