Reranker#
Evaluates the relevance of documents to the query using the built-in BGE reranker or a specified model instance.
| Query* | [Text] Required non-empty search query. |
| Documents* | [Array of texts] Required non-empty list of documents in original order. |
| ModelInstanceGuid | [Text] Optional GUID of the model instance; if not provided, the built-in BGE reranker is used. |
| TopN | [Number] Number of results when working through ModelInstanceGuid; the built-in BGE returns a score for each document. |
| Timeout | [Number] HTTP request timeout in seconds; default value is 300. |
| ResultSuccess | True if reranking is performed without error. |
| ResultData | [Array of numbers | object] BGE scores in the order of input documents or the full response of the specified model instance. |
| 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. |