Package com.alibaba.cloud.ai.model
Class RerankResponse
java.lang.Object
com.alibaba.cloud.ai.model.RerankResponse
- All Implemented Interfaces:
org.springframework.ai.model.ModelResponse<DocumentWithScore>
public class RerankResponse
extends Object
implements org.springframework.ai.model.ModelResponse<DocumentWithScore>
Title rerank response.
Description rerank response.
Description rerank response.
- Since:
- 1.0.0-M2
- Author:
- yuanci.ytb
-
Constructor Summary
ConstructorsConstructorDescriptionRerankResponse(List<DocumentWithScore> documents) RerankResponse(List<DocumentWithScore> documents, RerankResponseMetadata metadata) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
RerankResponse
-
RerankResponse
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceorg.springframework.ai.model.ModelResponse<DocumentWithScore>
-
getResults
- Specified by:
getResultsin interfaceorg.springframework.ai.model.ModelResponse<DocumentWithScore>
-
getMetadata
- Specified by:
getMetadatain interfaceorg.springframework.ai.model.ModelResponse<DocumentWithScore>
-