UpdateEmbedderRequest
UpdateEmbedderRequest documentation for Python SDK
Request body for updating an existing Embedder. Only fields that should be updated need to be included.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| validate_label_strategy | object | [optional] | |
| display_name | str | User-facing name of the embedder | [optional] |
| description | str | Description of the embedder | [optional] |
| endpoint_url | str | API endpoint URL | [optional] |
| api_path | str | API path for embeddings request | [optional] |
| model_identifier | str | Model identifier | [optional] |
| dimensionality | int | Output vector dimensions | [optional] |
| max_sequence_length | int | Maximum input sequence length | [optional] |
| supported_modalities | List[Modality] | Supported content modalities | [optional] |
| credentials | EndpointAuthentication | [optional] | |
| replace_labels | Dict[str, str] | Replace all existing labels with these (mutually exclusive with mergeLabels) | [optional] |
| merge_labels | Dict[str, str] | Merge these labels with existing ones (mutually exclusive with replaceLabels) | [optional] |
| version | str | Version information | [optional] |
| monitoring_endpoint | str | Monitoring 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