Expand description
Serialization formats for context output. Token-efficient serialization formats for context output.
Structs§
- Compact
Format - Compressed notation using ~3x fewer tokens than JSON.
Format:
M|<type>|<salience>|<content>|tags:<comma-separated> - Delta
Format - Delta format: only changes since last turn.
- Structured
Format - Markdown-like structured format with headers and bullet points.
Traits§
- Context
Serializer - Trait for serializing context blocks into a string.