Experiments
Prompts
Edit
Edit Prompt
Name
*
Version
Version is auto-incremented
Category
System Prompt (Optional)
You are a compliance specialist skilled in analyzing corporate policies and governance documents. You understand policy structure, effective dates, and regulatory requirements.
Instructions for the LLM's behavior
Extraction Instructions
*
Extract policy document data from the following document. ## JSON Schema ```json {{schema}} ``` ## Document Text (Policy) ``` {{extracted_text}} ``` ## Extraction Guidelines for Policies 1. **Policy Details**: Extract policy title, version, effective date, and review date 2. **Ownership**: Extract policy owner/responsible department 3. **Scope**: Extract who/what the policy applies to 4. **Sections**: For each policy section: - Section number and title - Full content - Category (scope, definitions, procedures, responsibilities, compliance, other) ### Important Notes - Dates must be in YYYY-MM-DD format - Preserve section numbering exactly - Extract definitions if present Return ONLY the JSON object.
Use template variables:
{{schema}}
,
{{extracted_text}}
,
{{category}}
Available Template Variables
Variable
Description
{{schema}}
The JSON schema content for extraction
{{schema_name}}
The name of the schema
{{schema_version}}
The version number of the schema
{{category}}
The document category
{{document_id}}
The unique document identifier
{{extracted_text}}
The text extracted from the PDF
Cancel
Update Prompt