ReferenceClient SDKsJavaModels Memory Model
Memory Model documentation for Java SDK
Memory object containing stored content and metadata
| Name | Type | Description | Notes |
|---|
| memoryId | UUID | Unique identifier of the memory | |
| spaceId | UUID | ID of the space containing this memory | |
| originalContent | File | Original content (only included if requested) | [optional] |
| originalContentLength | Long | Size in bytes of the inline original content | [optional] |
| originalContentSha256 | String | SHA-256 digest of the inline original content, hex encoded | [optional] |
| originalContentRef | String | Reference to external content location | [optional] |
| contentType | String | MIME type of the content | |
| processingStatus | ProcessingStatusEnum | Processing status of the memory | |
| pageImageStatus | PageImageStatusEnum | Processing status of page-image extraction for this memory | |
| pageImageCount | Integer | Number of extracted page-image renditions linked to this memory | |
| metadata | Map<String, Object> | Additional metadata for the memory | [optional] |
| createdAt | Long | Timestamp when the memory was created (milliseconds since epoch) | |
| updatedAt | Long | Timestamp when the memory was last updated (milliseconds since epoch) | |
| createdById | UUID | ID of the user who created this memory | |
| updatedById | UUID | ID of the user who last updated this memory | |
| chunkingConfig | ChunkingConfiguration | | [optional] |
| processingHistory | ProcessingHistory | | [optional] |
| Name | Value |
|---|
| UNSPECIFIED | "UNSPECIFIED" |
| PENDING | "PENDING" |
| PROCESSING | "PROCESSING" |
| COMPLETED | "COMPLETED" |
| FAILED | "FAILED" |
| Name | Value |
|---|
| UNSPECIFIED | "UNSPECIFIED" |
| PENDING | "PENDING" |
| PROCESSING | "PROCESSING" |
| COMPLETED | "COMPLETED" |
| FAILED | "FAILED" |
import ai.pairsys.goodmem.client.model.*;
// Memory objects are returned by the API
Memory memory = memoriesApi.getMemory(memoryId, false, false);
System.out.println("Memory ID: " + memory.getMemoryId());
System.out.println("Status: " + memory.getProcessingStatus());
System.out.println("Content type: " + memory.getContentType());
System.out.println("Page images: " + memory.getPageImageCount());