GoodMem
ReferenceClient SDKsPython SDKRequests

UpdateRerankerRequest

UpdateRerankerRequest documentation for Python SDK

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

Properties

NameTypeDescriptionNotes
validate_label_strategyobject[optional]
display_namestrUser-facing name of the reranker[optional]
descriptionstrDescription of the reranker[optional]
endpoint_urlstrAPI endpoint URL[optional]
api_pathstrAPI path for reranking request[optional]
model_identifierstrModel identifier[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_reranker_request import UpdateRerankerRequest

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

# convert the object into a dict
update_reranker_request_dict = update_reranker_request_instance.to_dict()
# create an instance of UpdateRerankerRequest from a dict
update_reranker_request_from_dict = UpdateRerankerRequest.from_dict(update_reranker_request_dict)

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

On this page