DocumentRequest - Python SDK

DocumentRequest method reference

The Python 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
imageOptional[str]An 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
textOptional[str]The document textAI enables robots to perceive, plan, and act autonomously.