Package com.alibaba.cloud.ai.model
Interface RerankModel
- All Superinterfaces:
org.springframework.ai.model.Model<RerankRequest,RerankResponse>
- All Known Implementing Classes:
DashScopeRerankModel
public interface RerankModel
extends org.springframework.ai.model.Model<RerankRequest,RerankResponse>
Title rerank model interface.
Description Rerank model is used to calculate the semantic match between the list of candidate documents and the user query .
Description Rerank model is used to calculate the semantic match between the list of candidate documents and the user query .
- Since:
- 1.0.0-M2
- Author:
- yuanci.ytb
-
Method Summary
-
Method Details
-
call
- Specified by:
callin interfaceorg.springframework.ai.model.Model<RerankRequest,RerankResponse>
-