Skip to content
FrankX.AI
← Back to library

create_summary · v1.0.0

Create Summary

Produce a structured summary of input — headline, key points, takeaways, in fixed format.

cross-labcreatestructured-output#summarization#structured-output
# Examples — create_summary

## Example 1 — Article on sleep
**INPUT**: "A 2025 study of 50,000 adults found sleeping less than 6 hours raised cardiovascular risk by 23%, especially when paired with shift work..."

**OUTPUT** (excerpt):
## HEADLINE
Sub-6-hour sleep raises cardiovascular risk 23 percent, with shift work amplifying the effect.
## KEY POINTS
- 50,000-adult cohort, 2025.
- Shift work compounds risk.
- Effect persists after controlling for diet.
## TAKEAWAYS
- Audit current sleep duration honestly.
- Protect a 7-hour minimum if shift work is non-negotiable.