agents.memory_v2.memory_models_standalone

Standalone memory models to avoid broken imports.

Classes

EnhancedMemoryItem

Enhanced memory item with V2 features.

ImportanceLevel

Importance levels for memory prioritization.

KnowledgeTriple

Knowledge graph triple.

MemoryItem

Individual memory item.

MemoryType

Types of memory.

Module Contents

class agents.memory_v2.memory_models_standalone.EnhancedMemoryItem(/, **data)

Bases: MemoryItem

Enhanced memory item with V2 features.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

class agents.memory_v2.memory_models_standalone.ImportanceLevel

Bases: str, enum.Enum

Importance levels for memory prioritization.

Initialize self. See help(type(self)) for accurate signature.

class agents.memory_v2.memory_models_standalone.KnowledgeTriple(/, **data)

Bases: pydantic.BaseModel

Knowledge graph triple.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

class agents.memory_v2.memory_models_standalone.MemoryItem(/, **data)

Bases: pydantic.BaseModel

Individual memory item.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

class agents.memory_v2.memory_models_standalone.MemoryType

Bases: str, enum.Enum

Types of memory.

Initialize self. See help(type(self)) for accurate signature.