Skip to main content
SDK
Wallet
SDK
FIND YOUR WAY
Wallet

Connect your wallet to build, save and manage SDKs.

Library

Official · SDK

Document Intelligence

Summarises pasted text, then lists entities, findings, risks, and short excerpts from that text. It does not read an uploaded file.

Version 1

What it does

Summarises pasted text, then lists entities, findings, risks, and short excerpts from that text. It does not read an uploaded file.

Try this SDK

Enter the required inputs and run this SDK using the published version.

Examples fill the form. They are not a test result.

Remix this SDK

Open an editable version in the AI Builder and make it your own.

Developer details

Version 1

Inputs

Outputs

Operations

  1. 01

    review

    Analyze

Content hash

d0bc61d12641ba4f0c3961407766b4540ebea0f2a2a8f309480ee85f969f3de9

Blueprint
{
  "name": "Document Intelligence",
  "steps": [
    {
      "id": "review",
      "op": "ai.analyze",
      "args": {
        "objective": {
          "$ref": "inputs.objective"
        },
        "document_text": {
          "$ref": "inputs.document_text"
        }
      },
      "config": {
        "task": "Analyse only the pasted document text. Do not claim that a file, PDF, or external page was read. Put a short summary in summary, entities and facts in entities, the main findings in findings, risks and uncertainties in risks, and short supporting excerpts from the pasted text in excerpts. If the text does not support a point, say that it is not in the text.",
        "responseSchema": {
          "type": "object",
          "required": [
            "summary",
            "entities",
            "findings",
            "risks",
            "excerpts"
          ],
          "properties": {
            "risks": {
              "type": "string"
            },
            "summary": {
              "type": "string"
            },
            "entities": {
              "type": "string"
            },
            "excerpts": {
              "type": "string"
            },
            "findings": {
              "type": "string"
            }
          }
        }
      }
    }
  ],
  "inputs": {
    "objective": {
      "type": "string",
      "required": true,
      "maxLength": 1000
    },
    "document_text": {
      "type": "string",
      "required": true,
      "maxLength": 8000
    }
  },
  "limits": {
    "timeoutMs": 60000,
    "maxOutputBytes": 131072
  },
  "outputs": {
    "analysis": {
      "from": {
        "$ref": "steps.review.result"
      },
      "type": "object"
    }
  },
  "description": "Summarises pasted text, then lists entities, findings, risks, and short excerpts from that text. It does not read an uploaded file.",
  "capabilities": [
    "ai.analyze"
  ],
  "schemaVersion": "1.0"
}
Document Intelligence | SDK