> ## Documentation Index
> Fetch the complete documentation index at: https://v2galileo-feat-update-docs-main-30571363885.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# retrievers

## convert\_to\_documents

```python theme={null}
def convert_to_documents(data: RetrieverSpanAllowedOutputType,
                         field_name: str | None=None) -> list[Document]
```

Convert various input types to a list of Document objects.
