first commit
This commit is contained in:
30
docs/openapi/paths/inference/rerank.yaml
Normal file
30
docs/openapi/paths/inference/rerank.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
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'
|
||||
security:
|
||||
- BearerAuth: []
|
||||
- BasicAuth: []
|
||||
- VirtualKeyAuth: []
|
||||
- ApiKeyAuth: []
|
||||
Reference in New Issue
Block a user