Cross-Encoders

Rank a list of passages based on their relevance to a given input text using a cross-encoder model.

post/cross-encoders

Request

  • Base URL
    <server-domain-url>/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    <server-domain-url>/api/v1/cross-encoders
  • Auth
    API key in header Authorization

Request body

providerstring required
modelstring required
inputstring required
passagesstring[] required

Response

response

OR

Changes

No recorded changes to this operation across all 1 revision of this API.