---
title: "DocumentResponse"
---

The document object echoing the original input (text and/or image)


## Fields

| Field                                                  | Type                                                   | Required                                               | Description                                            | Example                                                |
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
| `image`                                                | *Optional[str]*                                        | :heavy_minus_sign:                                     | The image (URL or data URI) from the original document | https://example.com/image.png                          |
| `text`                                                 | *Optional[str]*                                        | :heavy_minus_sign:                                     | The document text                                      | Paris is the capital of France.                        |