Documentation
¶
Overview ¶
Package conflict detects and resolves contradictory memories. When a new memory contradicts an existing one (same entity/topic, different fact), the old memory is auto-superseded. Based on Mem0's conflict resolution approach.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver detects and resolves memory conflicts.
func (*Resolver) CheckAndResolve ¶
CheckAndResolve checks if a new node contradicts existing nodes. If a contradiction is found, creates a supersedes edge and lowers the old node's confidence. Returns the list of superseded node IDs.
Click to show internal directories.
Click to hide internal directories.