Skip to main content

LLM Get Document

A system task to retrieve the content of the document provided and use it for further data processing using AI tasks.

Definitions

{
"name": "get_document_task",
"taskReferenceName": "get_document_task_ref",
"inputParameters": {
"url": "${workflow.input.url}",
"mediaType": "application/pdf"
},
"type": "GET_DOCUMENT"
}

Input Parameters

ParameterDescription
urlProvide the URL of the document to be retrieved. This can also be passed as variables..
mediaTypeSelect the media type of the file to be retrieved. Currently, supported media types include:
  • application/java-archive
  • application/EDI-X12
  • application/EDIFACT
  • application/javascript
  • application/octet-stream
  • application/ogg
  • application/pdf
  • application/xhtml+xml
  • application/x-shockwave-flash
  • application/json
  • application/ld+json
  • application/xml
  • application/zip
  • application/x-www-form-urlencoded
  • audio/mpeg
  • audio/x-ms-wma
  • audio/vnd.rn-realaudio
  • audio/x-wav
  • image/gif
  • image/jpeg
  • image/png
  • image/tiff
  • image/vnd.microsoft.icon
  • image/x-icon
  • image/vnd.djvu
  • image/svg+xml

Examples



  1. Add task type LLM Get Document.
  2. Provide the document URL and choose the media type.

LLM Get Document Task