Expand description
plato-tile-prompt — Tile Context → LLM Prompt Assembly
Takes scored tiles and assembles them into a prompt for LLM inference. Handles budget management, deadband injection, and format selection.
§Why
A model doesn’t receive raw tiles. It receives a prompt assembled from relevant tiles, formatted for its context window, with deadband warnings injected when approaching negative space.
§API
ⓘ
let config = PromptConfig::default();
let (prompt, stats) = PromptAssembler::build(&scored_tiles, query, &config);Structs§
- Build
Stats - Build statistics.
- Prompt
Assembler - The prompt assembler.
- Prompt
Config - Prompt assembly configuration.
- Scored
Tile - A scored tile ready for prompt assembly.