UpdateRerankerRequest
UpdateRerankerRequest documentation for Python SDK
Request body for updating an existing Reranker. 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 reranker | [optional] |
| description | str | Description of the reranker | [optional] |
| endpoint_url | str | API endpoint URL | [optional] |
| api_path | str | API path for reranking request | [optional] |
| model_identifier | str | Model identifier | [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_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