Space Model
Space Model documentation for Python SDK
A Space is a container for organizing related memories with vector embeddings.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| space_id | str | The unique identifier for this space. | |
| name | str | The name of the space. | |
| labels | Dict[str, str] | Key-value pairs of metadata associated with the space. | [optional] |
| space_embedders | List[SpaceEmbedder] | The list of embedders associated with this space. | |
| created_at | int | Timestamp when this space was created (milliseconds since epoch). | |
| updated_at | int | Timestamp when this space was last updated (milliseconds since epoch). | |
| owner_id | str | The ID of the user who owns this space. | |
| created_by_id | str | The ID of the user who created this space. | |
| updated_by_id | str | The ID of the user who last updated this space. | |
| public_read | bool | Whether this space is publicly readable by all users. | |
| default_chunking_config | ChunkingConfiguration | [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