Class DashScopeRerankModel
java.lang.Object
com.alibaba.cloud.ai.dashscope.rerank.DashScopeRerankModel
- All Implemented Interfaces:
RerankModel,org.springframework.ai.model.Model<RerankRequest,RerankResponse>
Title DashScope rerank model.
Description DashScope rerank model.
Description DashScope rerank model.
- Since:
- 1.0.0-M2
- Author:
- yuanci.ytb
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDashScopeRerankModel(DashScopeApi dashScopeApi) DashScopeRerankModel(DashScopeApi dashScopeApi, DashScopeRerankOptions defaultOptions) DashScopeRerankModel(DashScopeApi dashScopeApi, DashScopeRerankOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate) -
Method Summary
Modifier and TypeMethodDescriptionstatic DashScopeRerankModel.Builderbuilder()call(RerankRequest request) clone()mutate()Returns a builder pre-populated with the current configuration for mutation.
-
Constructor Details
-
DashScopeRerankModel
-
DashScopeRerankModel
-
DashScopeRerankModel
public DashScopeRerankModel(DashScopeApi dashScopeApi, DashScopeRerankOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate)
-
-
Method Details
-
call
- Specified by:
callin interfaceorg.springframework.ai.model.Model<RerankRequest,RerankResponse> - Specified by:
callin interfaceRerankModel
-
mutate
Returns a builder pre-populated with the current configuration for mutation. -
clone
-
builder
-