SpaceCreationRequest
SpaceCreationRequest documentation for Python SDK
Request body for creating a new Space. A Space is a container for organizing related memories with vector embeddings.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | The desired name for the space. Must be unique within the user's scope. | |
| labels | Dict[str, str] | A set of key-value pairs to categorize or tag the space. Used for filtering and organizational purposes. | [optional] |
| space_embedders | List[SpaceEmbedderConfig] | List of embedder configurations to associate with this space. Each specifies an embedder ID and retrieval weight. | [optional] |
| public_read | bool | Indicates if the space and its memories can be read by unauthenticated users or users other than the owner. Defaults to false. | [optional] |
| owner_id | str | Optional owner ID. If not provided, derived from the authentication context. Requires CREATE_SPACE_ANY permission if specified. | [optional] |
| default_chunking_config | ChunkingConfiguration | [optional] |
Example
from goodmem_client.models.space_creation_request import SpaceCreationRequest
# TODO update the JSON string below
json = "{}"
# create an instance of SpaceCreationRequest from a JSON string
space_creation_request_instance = SpaceCreationRequest.from_json(json)
# print the JSON string representation of the object
print(SpaceCreationRequest.to_json())
# convert the object into a dict
space_creation_request_dict = space_creation_request_instance.to_dict()
# create an instance of SpaceCreationRequest from a dict
space_creation_request_from_dict = SpaceCreationRequest.from_dict(space_creation_request_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK