|
43 | 43 | Full text: |
44 | 44 | {content} |
45 | 45 |
|
46 | | -Write a summary page for this document in Markdown. Include: |
47 | | -- Key concepts, findings, and ideas |
48 | | -- [[wikilinks]] to concepts that could become cross-document concept pages |
| 46 | +Write a summary page for this document in Markdown. |
49 | 47 |
|
50 | | -Return ONLY the Markdown content (no frontmatter, no code fences). |
| 48 | +Return a JSON object with two keys: |
| 49 | +- "brief": A single sentence (under 100 chars) describing the document's main contribution |
| 50 | +- "content": The full summary in Markdown. Include key concepts, findings, ideas, \ |
| 51 | +and [[wikilinks]] to concepts that could become cross-document concept pages |
| 52 | +
|
| 53 | +Return ONLY valid JSON, no fences. |
51 | 54 | """ |
52 | 55 |
|
53 | 56 |
|
|
84 | 87 | This concept relates to the document "{doc_name}" summarized above. |
85 | 88 | {update_instruction} |
86 | 89 |
|
87 | | -Return ONLY the Markdown content (no frontmatter, no code fences). Include: |
88 | | -- Clear explanation of the concept |
89 | | -- Key details from the source document |
90 | | -- [[wikilinks]] to related concepts and [[summaries/{doc_name}]] |
| 90 | +Return a JSON object with two keys: |
| 91 | +- "brief": A single sentence (under 100 chars) defining this concept |
| 92 | +- "content": The full concept page in Markdown. Include clear explanation, \ |
| 93 | +key details from the source document, and [[wikilinks]] to related concepts \ |
| 94 | +and [[summaries/{doc_name}]] |
| 95 | +
|
| 96 | +Return ONLY valid JSON, no fences. |
91 | 97 | """ |
92 | 98 |
|
93 | 99 | _CONCEPT_UPDATE_USER = """\ |
|
101 | 107 | information naturally — do not just append. Maintain existing \ |
102 | 108 | [[wikilinks]] and add new ones where appropriate. |
103 | 109 |
|
104 | | -Return ONLY the Markdown content (no frontmatter, no code fences). |
| 110 | +Return a JSON object with two keys: |
| 111 | +- "brief": A single sentence (under 100 chars) defining this concept (may differ from before) |
| 112 | +- "content": The rewritten full concept page in Markdown |
| 113 | +
|
| 114 | +Return ONLY valid JSON, no fences. |
105 | 115 | """ |
106 | 116 |
|
107 | 117 | _LONG_DOC_SUMMARY_USER = """\ |
|
0 commit comments