superhighfives/failed-pdf-upload

Public
2 runs

Run superhighfives/failed-pdf-upload with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
contract_document
string
Contract document (PDF, image, or text file)
extraction_fields
string
parties, contract dates, payment terms, key obligations, termination conditions
Comma-separated list of fields to extract (e.g., 'parties, dates, payment terms, termination clause')

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "object",
  "title": "Output",
  "required": [
    "extracted_data",
    "summary",
    "key_terms"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "key_terms": {
      "type": "string",
      "title": "Key Terms"
    },
    "extracted_data": {
      "type": "string",
      "title": "Extracted Data"
    }
  }
}