Class DashScopeRerankOptions
java.lang.Object
com.alibaba.cloud.ai.dashscope.rerank.DashScopeRerankOptions
- All Implemented Interfaces:
RerankOptions,org.springframework.ai.model.ModelOptions
Title DashScope rerank options.
Description DashScope rerank options.
Description DashScope rerank options.
- Since:
- 1.0.0-M2
- Author:
- yuanci.ytb
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getModel()getTopN()voidvoidsetReturnDocuments(Boolean returnDocuments) void
-
Constructor Details
-
DashScopeRerankOptions
public DashScopeRerankOptions()
-
-
Method Details
-
getModel
- Specified by:
getModelin interfaceRerankOptions
-
getTopN
- Specified by:
getTopNin interfaceRerankOptions
-
getReturnDocuments
-
setModel
-
setTopN
-
setReturnDocuments
-
builder
-