---
title: "Document"
---

A document to rerank. Either a plain string, or a structured object with optional `text` and/or `image`.


## Supported Types

### `str`

```python
value: str = /* values here */
```

### `operations.DocumentRequest`

```python
value: operations.DocumentRequest = /* values here */
```

