MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / rerank

Function rerank

inference/test/inference_service/inference.py:21–25  ·  view source on GitHub ↗
(data: Dict)

Source from the content-addressed store, hash-verified

19
20
21async def rerank(data: Dict):
22 async with aiohttp.ClientSession() as session:
23 request_url = f"{Config.BASE_URL}/rerank"
24 response = await session.post(request_url, json=data)
25 return ResponseWrapper(response.status, await response.json())
26
27
28async def verify_credentials(data: Dict):

Callers 3

test_rerankMethod · 0.90
test_error_rerankMethod · 0.90
test_less_rerankMethod · 0.90

Calls 2

ResponseWrapperClass · 0.90
jsonMethod · 0.45

Tested by 3

test_rerankMethod · 0.72
test_error_rerankMethod · 0.72
test_less_rerankMethod · 0.72