The Rerank Playground allows you to test reranker models that reorder multiple texts based on their relevance to a query. Experiment with various input texts, customize parameters, and review code examples for API integration.
Add multiple text entries to the document for reranking.
Enable Batch Input Mode to split multi-line text into separate entries based on line breaks. This is useful for processing multiple text snippets efficiently.
Click the Clear button to reset the document and query results.
Input a query and click the Submit button to get a ranked list of texts based on their relevance to the query.
Select an available reranker model in GPUStack by clicking the model dropdown at the top-right corner of the playground UI.
In the parameter section, set Top N to specify the number of matching texts to retrieve.
After experimenting with the input text and query, click the View Code button to see how to call the API with the same input. Code examples are provided in curl, Python, and Node.js.