Expand description
Format policy types for context rendering.
FormatPolicy controls how recalled grains are rendered into LLM-ready strings:
output format (SML/Markdown/PlainText/JSON), metadata verbosity, ordering,
token budget, and section grouping.
Structs§
- Format
Policy - Complete formatting policy. Constructed via builder pattern.
- Grain
Type Override - Per-grain-type overrides.
- Section
Config - Section grouping configuration.
Enums§
- Metadata
Level - How much metadata to include per grain.
- Ordering
- Ordering strategy for grains in output.
- Output
Format - Output format for rendered context.