Review and customize your prompt

On the Prompt page, you can review the prompts. All prompts contain user role definition, where you specify the tasks for the LLM.

Document Classification Prompt

This prompt includes the document classes and their definitions. In this prompt, you can:
  • Set guidelines for document analysis and classification.
  • Use 5 predefined instructions to guide the LLM in processing documents.
  • Add, delete, or update instructions. The maximum number of instructions is 10.

You can define the Document Boundary Detection guidelines to group pages by document type in PDFs that contain multiple document types, such as invoices, bank statements, and purchase orders. Three predefined guidelines are included. You can edit them or add more guidelines. The maximum number of guidelines is 6.

The output is generated in JSON format.

Entity Classification Prompt

This prompt contains:

  • Entity name and prompt definitions.
  • Entity output format.
  • Predefined entity extraction guidelines for the LLM that specify OCR consideration, extraction process, confidence scores calculation, and output format structure. The maximum number of these guidelines is 15.
  • Predefined Quality Assurance guidelines for validating the extraction process. The maximum number of these guidelines is 6.

Table Extraction Prompt (if applicable)

This prompt contains:

  • Column names and prompt definitions for each table.
  • Table output format.
  • Predefined entity extraction guidelines for the LLM that specify OCR consideration, extraction process, confidence scores calculation, and output format structure. The maximum number of these guidelines is 15.
  • Predefined Quality Assurance guidelines for validating the extraction process. The maximum number of these guidelines is 6.