RerankRequest schema
| Field | Type and description |
|---|---|
modelRequired | string Reranker model identifier. |
queryRequired | string The semantic search query. |
documentsRequired | array of string A list of text documents to rerank. Array itemsstring |
top_n | integer The number of top documents to return. Defaults to the length of the documents array. |
return_documents | boolean Whether to include the original document text in the response.
|