Segmentors
pkgs/genx/segmentors Organize conversation content into segments, entities and relations, providing structured results for memory writing and subsequent recall.
Core structure and main function
| Symbol | Function |
|---|---|
Segmentor | Conversation segmentation contract. |
Input | Carrying the conversation input to be analyzed. |
Result | Return segments, entities and relations. |
Schema | Constrain the entities and relationship structures that can be extracted. |
GenX | Use Generator to complete structured segmentation. |
Process | Select the Segmentor via the default mux and process the input. |
Segmentors are only responsible for structuring content and do not save conversation, entity graph or vector index; these persistence responsibilities belong to Agent memory and stores.