LLM Get Document
The LLM Get Document task is used to retrieve the content of a specified document for further data processing using AI tasks. It supports a wide range of media types and allows integration with various file formats to facilitate comprehensive data handling and processing.
The LLM Get Document task fetches a document from a specified URL based on the provided media type. It supports different formats, ensuring the retrieval of various types of documents. The task initiates a GET request to the URL and retrieves the document in the specified format, which is then available for subsequent AI-driven tasks or data processing.
Task parameters
Configure these parameters for the LLM Get Document task.
Parameter | Description | Required/Optional |
---|---|---|
inputParameters.url | The URL of the file to be retrieved. | Required. |
inputParameters.mediaType | The media type of the file to be retrieved. Supported media types:
| Optional. |
Task configuration
This is the task configuration for an LLM Get Document task.
{
"name": "get_document_task",
"taskReferenceName": "get_document_task_ref",
"inputParameters": {
"url": "${workflow.input.url}",
"mediaType": "application/pdf"
},
"type": "GET_DOCUMENT"
}
Adding an LLM Get Document task in UI
To add an LLM Get Document task:
- In your workflow, select the (+) icon and add an LLM Get Document task.
- Enter the document URL and choose the media type from the available options.