Rerank
Rerank documents by relevance to a query.
World-class reranker for maximizing search relevancy and RAG accuracy.
Request body
Example request
{
"documents": [
"Climate Change and Renewable Energy: A Global Perspective. Rising temperatures and extreme weather events are accelerating the transition to solar and wind power worldwide.",
"Le changement climatique et l'énergie renouvelable : une perspective européenne. L'Union européenne investit massivement dans les technologies vertes pour atteindre la neutralité carbone d'ici 2050.",
"Klimawandel und erneuerbare Energien: Deutsche Energiewende. Deutschland führt die Transformation des Energiesektors durch innovative Technologien und politische Maßnahmen an.",
"气候变化对可再生能源的影响:中国的绿色发展战略。中国正在大力推进太阳能和风能项目,以实现碳中和目标。",
"Artificial Intelligence in Healthcare: Revolutionizing Medical Diagnosis. AI-powered systems are improving accuracy in disease detection and treatment recommendations.",
"Blockchain Technology: Transforming Financial Services. Decentralized finance applications are reshaping traditional banking and payment systems."
],
"model": "jina-reranker-v2-base-multilingual",
"query": "Climate change impact on renewable energy adoption",
"return_documents": false,
"top_n": 4
}Response
Successful Response
Changes
Changed in 1 of the 4 revisions of this API.136
- ▲
request property
oneOf[subschema #3: RerankerV3Request]/modelwas restricted to a list of enum valuesrequest-property-became-enum
- ●
removed the request property
oneOf[subschema #1: TextRerankerRequest]/truncationrequest-property-removed
- ●
removed the request property
oneOf[subschema #2: RerankerM0Request]/truncationrequest-property-removed
- ●
removed the request property
oneOf[subschema #3: RerankerV3Request]/truncationrequest-property-removed
- ○
added
jina-reranker-v3.5mapping keys to the request discriminatorrequest-body-discriminator-mapping-added
- ○
the
modelrequest property const valuejina-reranker-v3was removedrequest-property-const-removed
- ○
the
max_doc_lengthrequest property default value2048was removedrequest-property-default-value-removed
- ○
added the new
jina-reranker-v3enum value to the request propertyoneOf[subschema #3: RerankerV3Request]/modelrequest-property-enum-value-added
- ○
added the new
jina-reranker-v3.5enum value to the request propertyoneOf[subschema #3: RerankerV3Request]/modelrequest-property-enum-value-added
- ○
request property
oneOf[subschema #3: RerankerV3Request]/max_doc_lengthlist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ▲