GoodMem
ReferenceClient SDKsPython SDKModels

SpaceEmbedder Model

SpaceEmbedder Model documentation for Python SDK

Associates an embedder with a space, including retrieval configuration.

Properties

NameTypeDescriptionNotes
space_idstrThe unique identifier for the space.
embedder_idstrThe unique identifier for the embedder.
default_retrieval_weightfloatThe default weight for this embedder during retrieval operations.
created_atintTimestamp when this association was created (milliseconds since epoch).
updated_atintTimestamp when this association was last updated (milliseconds since epoch).
created_by_idstrThe ID of the user who created this association.
updated_by_idstrThe ID of the user who last updated this association.

Example

from goodmem_client.models.space_embedder import SpaceEmbedder

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

# convert the object into a dict
space_embedder_dict = space_embedder_instance.to_dict()
# create an instance of SpaceEmbedder from a dict
space_embedder_from_dict = SpaceEmbedder.from_dict(space_embedder_dict)

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

On this page