GoodMem
ReferenceClient SDKsPython SDKModels

Space Model

Space Model documentation for Python SDK

A Space is a container for organizing related memories with vector embeddings.

Properties

NameTypeDescriptionNotes
space_idstrThe unique identifier for this space.
namestrThe name of the space.
labelsDict[str, str]Key-value pairs of metadata associated with the space.[optional]
space_embeddersList[SpaceEmbedder]The list of embedders associated with this space.
created_atintTimestamp when this space was created (milliseconds since epoch).
updated_atintTimestamp when this space was last updated (milliseconds since epoch).
owner_idstrThe ID of the user who owns this space.
created_by_idstrThe ID of the user who created this space.
updated_by_idstrThe ID of the user who last updated this space.
public_readboolWhether this space is publicly readable by all users.
default_chunking_configChunkingConfiguration[optional]

Example

from goodmem_client.models.space import Space

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

# convert the object into a dict
space_dict = space_instance.to_dict()
# create an instance of Space from a dict
space_from_dict = Space.from_dict(space_dict)

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

On this page