Skip to content

Segmentors

pkgs/genx/segmentors Organize conversation content into segments, entities and relations, providing structured results for memory writing and subsequent recall.

Go API References

Core structure and main function

SymbolFunction
SegmentorConversation segmentation contract.
InputCarrying the conversation input to be analyzed.
ResultReturn segments, entities and relations.
SchemaConstrain the entities and relationship structures that can be extracted.
GenXUse Generator to complete structured segmentation.
ProcessSelect 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.