> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.agents.experimental.document_agent.handle_input

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### handle\_input

```python theme={null}
handle_input(input_path: Path | str, output_dir: Path | str = './output') -> list[Path]
```

Process the input string and return the appropriate file paths

<b>Parameters:</b>

| Name         | Description                                                      |
| ------------ | ---------------------------------------------------------------- |
| `input_path` | **Type:** pathlib.Path \| str                                    |
| `output_dir` | **Type:** pathlib.Path \| str<br /><br />**Default:** './output' |

<br />
