GoodMem
ReferenceClient SDKsPython SDKRequests

UpdateEmbedderRequest

UpdateEmbedderRequest documentation for Python SDK

Request body for updating an existing Embedder. Only fields that should be updated need to be included.

Properties

NameTypeDescriptionNotes
validate_label_strategyobject[optional]
display_namestrUser-facing name of the embedder[optional]
descriptionstrDescription of the embedder[optional]
endpoint_urlstrAPI endpoint URL[optional]
api_pathstrAPI path for embeddings request[optional]
model_identifierstrModel identifier[optional]
dimensionalityintOutput vector dimensions[optional]
max_sequence_lengthintMaximum input sequence length[optional]
supported_modalitiesList[Modality]Supported content modalities[optional]
credentialsEndpointAuthentication[optional]
replace_labelsDict[str, str]Replace all existing labels with these (mutually exclusive with mergeLabels)[optional]
merge_labelsDict[str, str]Merge these labels with existing ones (mutually exclusive with replaceLabels)[optional]
versionstrVersion information[optional]
monitoring_endpointstrMonitoring endpoint URL[optional]

Example

from goodmem_client.models.update_embedder_request import UpdateEmbedderRequest

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

# convert the object into a dict
update_embedder_request_dict = update_embedder_request_instance.to_dict()
# create an instance of UpdateEmbedderRequest from a dict
update_embedder_request_from_dict = UpdateEmbedderRequest.from_dict(update_embedder_request_dict)

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

On this page