AI Server. Reranker#
Reranker is a model with a specific algorithm that calculates the relevance of each document or chunk passed in the list relative to the given question.
| Question | [Text] Required question. |
| Documents | [Text/List] One or more documents for which weights need to be obtained for ranking the documents. |
| Timeout | [Number] Maximum waiting time for a response in seconds. |
| Request Result | [Boolean] Result of the check. Returns $true or $false. |
| Result. Data | [List] A list of weights for each document in the list (floating-point number, may be greater than 1). |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Message | [Text] Returns detailed information about the error in case of incorrect execution of the block. |