(data: Dict)
| 19 | |
| 20 | |
| 21 | async 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 | |
| 28 | async def verify_credentials(data: Dict): |