## Screenshot: Prompt Template for Technical Document Extraction
### Overview
The image displays a structured prompt template designed for extracting technical document information. It includes instructions, examples, and a relevance prompt for generating noncommittal answers. The template uses JSON formatting for output and emphasizes strict adherence to schema rules.
### Components/Axes
1. **Headers**:
- `### Core Template`
- `### Answer Relevancy prompt`
- `### Examples`
2. **Instructions**:
- Output must comply with a JSON schema specifying `output_schema` (not single quotes, double quotes with backslash escapes).
- Noncommittal answers (e.g., "I don't know") are scored as 1; substantive answers as 0.
3. **Examples**:
- Input-output pairs demonstrating correct formatting and noncommittal identification.
### Detailed Analysis
#### Core Template Section
- **Instruction**:
```json
{
"instruction": "Please return the output in a JSON format that complies with the following schema as specified in JSON Schema: {output_schema} Do not use single quotes in your response but double quotes, properly escaped with a backslash."
}
```
- **Input/Output Placeholder**:
```json
{
"input": "[input_json]",
"output": ""
}
```
#### Answer Relevancy Prompt Section
- **Task**: Generate a question for the given answer and identify if the answer is noncommittal.
- **Noncommittal Criteria**:
- Examples: "I don't know," "It depends."
- Scoring: 1 for noncommittal, 0 for substantive.
#### Examples Section
1. **Example 1**:
- Input: `{'response': 'Albert Einstein was born in Germany.'}`
- Output: `{'question': 'Where was Albert Einstein born?', 'noncommittal': 0}`
2. **Example 2**:
- Input: `{'response': 'The capital of France is Paris, a city known for its architecture and culture.'}`
- Output: `{'question': 'What is the capital of France?', 'noncommittal': 0}`
3. **Example 3**:
- Input: `{'response': 'I don't know about the groundbreaking feature of the smartphone invented in 2023 as I am unaware of information beyond 2022.'}`
- Output: `{'question': 'What was the groundbreaking feature of the smartphone invented in 2023?', 'noncommittal': 1}`
### Key Observations
- **Schema Strictness**: Emphasis on double quotes and escaped backslashes in JSON.
- **Noncommittal Identification**: Clear examples of ambiguous or evasive answers.
- **Input-Output Structure**: Consistent use of `input` and `output` keys with JSON formatting.
### Interpretation
This template is designed to standardize technical document extraction by enforcing structured JSON output and evaluating answer relevance. The noncommittal scoring system ensures answers are either definitive (0) or explicitly noncommittal (1), reducing ambiguity. The examples illustrate how to handle factual, cultural, and knowledge-gap scenarios, ensuring consistency in automated responses. The strict JSON formatting rules suggest integration with systems requiring precise schema compliance, such as APIs or data pipelines.