Skip to content

Overview

OntoMem provides a comprehensive, well-structured API for building intelligent memory systems. This section covers the core modules and classes.

Core Modules

ontomem.core

The main module containing the OMem class and base classes.

  • OMem: Main memory management class
  • BaseMem: Abstract base class for memory implementations

ontomem.merger

Merge strategy implementations for conflict resolution.

  • Classic Strategies: Field-based merging, keep incoming, keep existing
  • LLM Strategies: Intelligent synthesis, preference-based merging

ontomem.utils

Utility functions and helpers.

  • Logging: Structured logging utilities
  • Type helpers: Common type definitions

Detailed Module Documentation

For detailed information about specific modules:


See the Quick Start to get started immediately.