GoodMem
ReferenceClient SDKsJavaScript SDKRequests

MemoryCreationRequest

MemoryCreationRequest documentation for JavaScript SDK

Properties

NameTypeDescriptionNotes
validateObject[optional]
memoryIdStringOptional client-provided UUID for the memory. If omitted, the server generates one. Returns ALREADY_EXISTS if the ID is already in use.[optional]
spaceIdStringID of the space where this memory will be stored
originalContentStringOriginal content as plain text (use either this or originalContentB64)[optional]
originalContentB64StringOriginal content as base64-encoded binary data (use either this or originalContent)[optional]
originalContentRefStringReference to external content location[optional]
contentTypeStringMIME type of the content
metadataObjectAdditional metadata for the memory[optional]
chunkingConfigChunkingConfiguration[optional]

On this page