Skip to main content

ConversationMemoryNode

Description

Individual contextual memory node capturing compressed content, embeddings, and metadata.

Properties

NameTypeDescriptionNotes
branchConversationBranch
parentConversationMemoryNode[optional]
chatMessageIdUUIDReference to the chat message represented by this node.[optional]
messageRoleMessageRoleEnumRole of the message captured in this node.
sessionIdStringSession identifier used when the node was recorded.[optional]
sequenceNoLongMonotonically increasing sequence number within the branch.
contentHashStringSHA-256 hash of the normalized message content for deduplication.
contentCharsIntegerNumber of characters stored inside the payload.
compressedPayloadbyte[]Deflated payload of the normalized content (base64 encoded).
embeddingVectorbyte[]Serialized float32 embedding vector (base64 encoded).[optional]
embeddingDimensionsIntegerDimensionality of the embedding vector used when encoding this node.[optional]
embeddingChecksumStringChecksum of the embedding vector to guard against corruption.[optional]
keywordsTextStringNormalized keywords extracted from the content for lexical matching.[optional]
metadataStringJSON metadata describing usage statistics, provenance, and service identifiers.[optional]
relevanceScoreDoubleScore used when ranking nodes for recall.[optional]
archivedBooleanIndicates whether the node is excluded from recall windows.[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]

Enum: MessageRoleEnum

NameValue
SYSTEM"system"
USER"user"
ASSISTANT"assistant"
SUMMARY"summary"

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-12-03T11:13:18.492704-08:00[America/Los_Angeles]