interlens.view¶
interlens.view
¶
ViewSegment
dataclass
¶
One entry in a participant's structured view, before it is flattened to the [{role, content}] shape
a chat template consumes.
Carrying origin (and author for turns) through the pipeline is the whole point: it keeps the
semantic identity of each piece intact so context-trimming and author-labelling can act on it, rather than
reverse-engineering meaning out of already-folded text.