Enums
Enums for the gllm-memory library.
This module contains all enumerations used throughout the library, providing type safety and preventing magic string usage.
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. |
SOURCE |
str
|
Source metadata category. |
TARGET |
str
|
Target metadata category. |
IS_IMPORTANT |
str
|
Flag indicating if memory is important. |
MARK_IMPORTANT_AT |
str
|
Timestamp when memory was marked as important. |
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. |
MemoryParameter
Bases: StrEnum
Supported memory parameters.
Attributes:
| Name | Type | Description |
|---|---|---|
APP_ID |
str
|
App ID parameter. |
USER_ID |
str
|
User ID parameter. |
AGENT_ID |
str
|
Agent ID parameter. |
METADATA |
str
|
Metadata parameter. |
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. |