yapapaway / docs /openapi /paths /inference /rerank.yaml
shinmentakezo07
Add source files required for Space build
8baf122
Raw
History Blame Contribute Delete
720 Bytes
rerank:
post:
operationId: rerankDocuments
summary: Rerank documents
description: |
Reorders input documents by relevance to a query.
tags:
- Rerank
requestBody:
required: true
content:
application/json:
schema:
$ref: '../../schemas/inference/rerank.yaml#/RerankRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '../../schemas/inference/rerank.yaml#/RerankResponse'
'400':
$ref: '../../openapi.yaml#/components/responses/BadRequest'
'500':
$ref: '../../openapi.yaml#/components/responses/InternalError'