GoodMem
ReferenceClient SDKsPython SDKModels

RerankerResponse Model

RerankerResponse Model documentation for Python SDK

Reranker configuration information

Properties

NameTypeDescriptionNotes
reranker_idstrUnique identifier of the reranker
display_namestrUser-facing name of the reranker
descriptionstrDescription of the reranker[optional]
provider_typeProviderType
endpoint_urlstrAPI endpoint URL
api_pathstrAPI path for reranking request
model_identifierstrModel identifier
supported_modalitiesList[Modality]Supported content modalities[optional]
labelsDict[str, str]User-defined labels for categorization[optional]
versionstrVersion information[optional]
monitoring_endpointstrMonitoring endpoint URL[optional]
owner_idstrOwner ID of the reranker
created_atintCreation timestamp (milliseconds since epoch)
updated_atintLast update timestamp (milliseconds since epoch)
created_by_idstrID of the user who created the reranker
updated_by_idstrID of the user who last updated the reranker

Example

from goodmem_client.models.reranker_response import RerankerResponse

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

# convert the object into a dict
reranker_response_dict = reranker_response_instance.to_dict()
# create an instance of RerankerResponse from a dict
reranker_response_from_dict = RerankerResponse.from_dict(reranker_response_dict)

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

On this page