qwen3-rerank.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "model_code": "qwen3-rerank",
  3. "model_intro": "基于 Qwen LLM 底座训练的文本排序模型,对输入的 Query 和候选 Docs 进行相关性排序,支持 100+ 语种和长文本输入,适用于文本检索、RAG 等场景,效果对齐开源 Qwen3-Rerank 系列模型。",
  4. "model_tags": ["向量模型"],
  5. "model_capabilities": {
  6. "input_modalities": ["text"],
  7. "output_modalities": ["text"],
  8. "features": {
  9. "model_experience": false,
  10. "function_calling": false,
  11. "structured_output": false,
  12. "web_search": false,
  13. "prefix_continuation": false,
  14. "cache": false,
  15. "batch_inference": false,
  16. "model_tuning": false
  17. }
  18. },
  19. "model_pricing": {
  20. "unit": "元/千tokens",
  21. "input": 0.0005
  22. },
  23. "model_limits": {
  24. "max_input_length": "30K",
  25. "max_output_length": null,
  26. "rpm": 5400,
  27. "tpm": 5000000000,
  28. "context_length": "30K"
  29. },
  30. "api_examples": {
  31. "curl": [
  32. "curl --location 'https://dashscope.aliyuncs.com/api/v1/services/rerank/text-rerank/text-rerank' \\\n--header \"Authorization: Bearer $DASHSCOPE_API_KEY\" \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"model\": \"qwen3-rerank\",\n \"input\":{\n \"query\": \"什么是文本排序模型\",\n \"documents\": [\n \"文本排序模型广泛用于搜索引擎和推荐系统中,它们根据文本相关性对候选文本进行排序\",\n \"量子计算是计算科学的一个前沿领域\",\n \"预训练语言模型的发展给文本排序模型带来了新的进展\"\n ]\n },\n \"parameters\": {\n \"return_documents\": true,\n \"top_n\": 5\n }\n}'"
  33. ]
  34. }
  35. }