get_reranking
Sort documents by relevance to a user query using the ZeroEntropy Zerank API, enabling AI assistants to retrieve precise information efficiently.
Instructions
Get the reranked document listing
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | Yes | API key for authentication | |
documents | Yes | Array of documents to rerank | |
query | Yes | The search query |
Input Schema (JSON Schema)
{
"properties": {
"api_key": {
"description": "API key for authentication",
"minLength": 1,
"type": "string"
},
"documents": {
"description": "Array of documents to rerank",
"items": {
"type": "string"
},
"maxItems": 1000,
"minItems": 1,
"type": "array"
},
"query": {
"description": "The search query",
"maxLength": 10000,
"minLength": 1,
"type": "string"
}
},
"required": [
"query",
"documents",
"api_key"
],
"type": "object"
}