GoodMem
ReferenceClient SDKsPython SDKModels

EmbedderWeight Model

EmbedderWeight Model documentation for Python SDK

Per-embedder weight override for retrieval operations.

Properties

NameTypeDescriptionNotes
embedder_idstrThe unique identifier for the embedder.
weightfloatThe weight to apply to this embedder's results. Can be positive, negative, or zero.

Example

from goodmem_client.models.embedder_weight import EmbedderWeight

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

# convert the object into a dict
embedder_weight_dict = embedder_weight_instance.to_dict()
# create an instance of EmbedderWeight from a dict
embedder_weight_from_dict = EmbedderWeight.from_dict(embedder_weight_dict)

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

On this page