admin/reranker_model

Create Reranker Model

post/api/v1/admin/reranker-models

Request

  • Base URL: https://tidb.ai (the document declares no server; this is the origin it was published from)
  • URL: https://tidb.ai/api/v1/admin/reranker-models
  • Auth: API key in cookie session

Request body

created_atstring date-time nullable
updated_atstring date-time nullable
namestring required
provider'jina' | 'cohere' | 'baisheng' | 'local' | 'vllm' | 'xinference' | 'bedrock' required
modelstring required
top_ninteger
is_defaultboolean
idinteger nullable
credentialsunknown required

Response

Successful Response

created_atstring date-time nullable
updated_atstring date-time nullable
namestring required
provider'jina' | 'cohere' | 'baisheng' | 'local' | 'vllm' | 'xinference' | 'bedrock' required
modelstring required
top_ninteger
is_defaultboolean
idinteger required

Changes

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