> For the complete documentation index, see [llms.txt](https://docs.myshell.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.myshell.ai/ko/create/pro-config-mode/api-reference/widgets/3-udop-document-question-answering.md).

# UDOP: Document Question Answering

## Try it in the Widget Center

Click this [url](https://app.myshell.ai/robot-workshop/widget/1781988928627507200) to try this widget and copy the Pro Config template.

## Usage

\<TODO: enter description here, and remove useless inputs>

**Input Parameters**

<table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>image</td><td><code>string</code></td><td>image url for udop to understand.</td><td><a href="https://replicate.delivery/pbxt/KZczgVh1gAp7xfPP79GdZoGdKEoekcLPiqSqE6bEgM5pThGD/example_1.jpg">default_url</a></td><td>true</td></tr><tr><td>prompt</td><td><code>string</code></td><td>The text prompt in natural language. You can use `Question answering. xxxxxx` to ask question about the input image</td><td>Question answering. In which date is the report made?</td><td>true</td></tr></tbody></table>

**Output Parameters**

| Name     | Type     | Description                                         | File Type |
| -------- | -------- | --------------------------------------------------- | --------- |
| response | `string` | The answer given. According to the image and prompt |           |

**Output Example**

{% tabs %}
{% tab title="success" %}
{% code fullWidth="false" %}

```json
{
   "response": "9/3/92"  // example input image=https://replicate.delivery/pbxt/KZczgVh1gAp7xfPP79GdZoGdKEoekcLPiqSqE6bEgM5pThGD/example_1.jpg  prompt=Question answering. In which date is the report made?
}
```

{% endcode %}
{% endtab %}

{% tab title="fail" %}
{% code fullWidth="false" %}

```json
{
   "results": "<the example results of this widget>"
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Detailed Guidelines
