{ "query": "What are some good electric cars", "texts": [ "Here’s the information about the Mercedes CLR GTR: The Mercedes CLR GTR is a remarkable racing car ...", "The Tesla Cybertruck is an all-electric, battery-powered light-duty truck unveiled by Tesla, Inc. ..." ], "raw_scores": false, "return_text": false, "truncate": false, "truncation_direction": "right"}
Copy
Ask AI
[ { "index":1, "score":0.15253653, // if return_text = true "text": "The Tesla Cybertruck is an all-electric, battery-powered light-duty truck unveiled by Tesla, Inc. ..." }, { "index":0, "score":0.00498227 // if return_text = true "text": "Here’s the information about the Mercedes CLR GTR: The Mercedes CLR GTR is a remarkable racing car ..." }]
API Reference
Get Ranks
Runs Reranker. Returns a 424 status code if the model is not a Reranker model.
Copy
Ask AI
{ "query": "What are some good electric cars", "texts": [ "Here’s the information about the Mercedes CLR GTR: The Mercedes CLR GTR is a remarkable racing car ...", "The Tesla Cybertruck is an all-electric, battery-powered light-duty truck unveiled by Tesla, Inc. ..." ], "raw_scores": false, "return_text": false, "truncate": false, "truncation_direction": "right"}
Copy
Ask AI
[ { "index":1, "score":0.15253653, // if return_text = true "text": "The Tesla Cybertruck is an all-electric, battery-powered light-duty truck unveiled by Tesla, Inc. ..." }, { "index":0, "score":0.00498227 // if return_text = true "text": "Here’s the information about the Mercedes CLR GTR: The Mercedes CLR GTR is a remarkable racing car ..." }]
Copy
Ask AI
{ "query": "What are some good electric cars", "texts": [ "Here’s the information about the Mercedes CLR GTR: The Mercedes CLR GTR is a remarkable racing car ...", "The Tesla Cybertruck is an all-electric, battery-powered light-duty truck unveiled by Tesla, Inc. ..." ], "raw_scores": false, "return_text": false, "truncate": false, "truncation_direction": "right"}
Copy
Ask AI
[ { "index":1, "score":0.15253653, // if return_text = true "text": "The Tesla Cybertruck is an all-electric, battery-powered light-duty truck unveiled by Tesla, Inc. ..." }, { "index":0, "score":0.00498227 // if return_text = true "text": "Here’s the information about the Mercedes CLR GTR: The Mercedes CLR GTR is a remarkable racing car ..." }]