메인 콘텐츠로 건너뛰기
POST
Rerank documents

인증

Authorization
string
header
필수

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

본문

application/json
query
string
필수

The query to score the documents against.

Required string length: 1 - 8192
documents
string[]
필수

Up to 100 texts (1,000 on a custom reranker), each up to 24,000 characters.

Required array length: 1 - 1000 elements
top_k
integer

Return only the best top_k; default all.

필수 범위: x >= 1

응답

Scores, best first. index points into the request's documents.

results
object[]
필수
unscored
integer[]
필수

Indexes of documents that were not scored. Usually empty.

model
string
필수