评估

对知识库进行评估测试

post/evaluation/

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/evaluation/
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Request body

chat_idstring

ID of chat model to use

dataset_idstring

ID of dataset to evaluate

knowledge_base_idstring

ID of knowledge base to use

rerank_idstring

ID of rerank model to use

Response

评估任务

successboolean

Example response

{
  "success": true
}

Changes