Skip to content

Enums

Enums for the gllm-memory library.

This module contains all enumerations used throughout the library, providing type safety and preventing magic string usage.

Authors

Budi Kurniawan (budi.kurniawan1@gdplabs.id)

ApiVersion

Bases: StrEnum

Supported API versions for memory providers.

Attributes:

Name Type Description
V2 str

Version 2 of the API.

MemoryMetadataCategory

Bases: StrEnum

Supported memory metadata categories.

Attributes:

Name Type Description
USER_PREFERENCES str

User preferences metadata category.

MemoryOperationType

Bases: StrEnum

Supported memory operation types.

Attributes:

Name Type Description
ADD str

Add operation type.

RETRIEVE str

Retrieve operation type.

DELETE str

Delete operation type.

UPDATE str

Update operation type.

UNKNOWN str

Unknown operation type.

MemoryProviderType

Bases: StrEnum

Supported memory provider types.

Attributes:

Name Type Description
MEM0 str

Mem0 Platform provider.

MemoryScope

Bases: StrEnum

Supported memory operation scopes.

Attributes:

Name Type Description
USER str

User-specific memory operations.

ASSISTANT str

Assistant-specific memory operations.

OutputFormat

Bases: StrEnum

Supported output formats for memory providers.

Attributes:

Name Type Description
V1_1 str

Version 1.1 output format.