GoodMem
ReferenceClient SDKsPython SDKResponses

MemoryChunkResponse

MemoryChunkResponse documentation for Python SDK

Memory chunk information

Properties

NameTypeDescriptionNotes
chunk_idstrUnique identifier of the memory chunk
memory_idstrID of the memory this chunk belongs to
chunk_sequence_numberintSequence number of this chunk within the memory
chunk_textstrThe text content of this chunk
vector_statusstrStatus of vector processing for this chunk
start_offsetintStart offset of this chunk in the original content[optional]
end_offsetintEnd offset of this chunk in the original content[optional]
created_atintCreation timestamp (milliseconds since epoch)
updated_atintLast update timestamp (milliseconds since epoch)
created_by_idstrID of the user who created the chunk
updated_by_idstrID of the user who last updated the chunk

Example

from goodmem_client.models.memory_chunk_response import MemoryChunkResponse

# TODO update the JSON string below
json = "{}"
# create an instance of MemoryChunkResponse from a JSON string
memory_chunk_response_instance = MemoryChunkResponse.from_json(json)
# print the JSON string representation of the object
print(MemoryChunkResponse.to_json())

# convert the object into a dict
memory_chunk_response_dict = memory_chunk_response_instance.to_dict()
# create an instance of MemoryChunkResponse from a dict
memory_chunk_response_from_dict = MemoryChunkResponse.from_dict(memory_chunk_response_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page