84 lines
No EOL
2.8 KiB
Text
84 lines
No EOL
2.8 KiB
Text
User request: "Generate a document based on the following requirements: Generate a document titled 'Test Document' with placeholder content. Document type: memo. Create a professional, well-structured document with appropriate formatting and organization."
|
|
|
|
Generate a VALID JSON response for the user request. The template below shows ONLY the structure pattern - it is NOT existing content.
|
|
|
|
JSON structure template:
|
|
{
|
|
"metadata": {
|
|
"split_strategy": "single_document",
|
|
"source_documents": [],
|
|
"extraction_method": "ai_generation"
|
|
},
|
|
"documents": [
|
|
{
|
|
"id": "doc_1",
|
|
"title": "Generated Document",
|
|
"filename": "document.json",
|
|
"sections": [
|
|
{
|
|
"id": "section_heading_example",
|
|
"content_type": "heading",
|
|
"elements": [
|
|
{"level": 1, "text": "Heading Text"}
|
|
],
|
|
"order": 0
|
|
},
|
|
{
|
|
"id": "section_paragraph_example",
|
|
"content_type": "paragraph",
|
|
"elements": [
|
|
{"text": "Paragraph text content"}
|
|
],
|
|
"order": 0
|
|
},
|
|
{
|
|
"id": "section_bullet_list_example",
|
|
"content_type": "bullet_list",
|
|
"elements": [
|
|
{
|
|
"items": ["Item 1", "Item 2"]
|
|
}
|
|
],
|
|
"order": 0
|
|
},
|
|
{
|
|
"id": "section_table_example",
|
|
"content_type": "table",
|
|
"elements": [
|
|
{
|
|
"headers": ["Column 1", "Column 2"],
|
|
"rows": [
|
|
["Row 1 Col 1", "Row 1 Col 2"],
|
|
["Row 2 Col 1", "Row 2 Col 2"]
|
|
],
|
|
"caption": "Table caption"
|
|
}
|
|
],
|
|
"order": 0
|
|
},
|
|
{
|
|
"id": "section_code_example",
|
|
"content_type": "code_block",
|
|
"elements": [
|
|
{
|
|
"code": "function example() { return true; }",
|
|
"language": "javascript"
|
|
}
|
|
],
|
|
"order": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|
|
Instructions:
|
|
- Start with {"metadata": ...} — return COMPLETE, STRICT JSON.
|
|
- Return ONLY valid JSON (strict). No comments. No trailing commas. Use double quotes.
|
|
- Do NOT reuse example section IDs; create your own.
|
|
- Generate complete content based on the user request. Do NOT just give an instruction or comments. Deliver the complete response.
|
|
- IMPORTANT: Set a meaningful "filename" in each document with appropriate file extension (e.g., "prime_numbers.txt", "report.docx", "data.json"). The filename should reflect the content and task objective.
|
|
- When the request is fully satisfied, add "complete_response": true at root level.
|
|
- Output JSON only; no markdown fences or extra text.
|
|
|
|
Generate your complete response starting from {"metadata": ...}: |