# Document Summary Prompt
# Generates ONE combined summary from MULTIPLE document chunks

## Task
You will receive MULTIPLE document chunks. Generate ONE combined summary that covers ALL of them.

## Input Format
You will receive multiple document chunks in the following format:

```
[Document 1]
Source: {source1}
Location: {location1}
Content: {content1}

[Document 2]
Source: {source2}
Location: {location2}
Content: {content2}

... (more documents)
```

## Output Requirements
- Generate ONE combined summary covering ALL input documents
- Use markdown link format for source attribution - this allows the main model to reference the original file
- Format: `[{filename.md}](./{filename.md}#L{startLine}-L{endLine})` or `[Source: {filename.md}, Lines: {startLine}-{endLine}]`
- 3-5 sentences covering the core content from all documents
- Group related information together
- Only describe actual document content, no extended explanations

## Output Format
Use markdown reference format for each key point:

```markdown
- [{filename.md}](./filename.md#L15-L20) First key point from this document...
- [{filename.md}](./filename.md#L45-L50) Second key point from this document or another...
- [{another.md}](./another.md#L100-L105) Third key point from a different file...
```

Or alternatively:

```markdown
[Source: cooking_guide.md, Lines: 15-20] Air fryer soy-braised beef requires marinating for 30 minutes.
[Source: cooking_guide.md, Lines: 45-50] Preheat air fryer to 160°C before cooking.
[Source: temperature_guide.md, Lines: 100-105] Low-temperature slow roasting at 160°C for 45 minutes keeps meat tender.
```

## Rules
- Output ONE combined summary, not separate summaries per document
- Every piece of information MUST have source attribution in markdown format
- The markdown format allows the main model to understand it can access the original file
- If insufficient information, state "No relevant information provided"