@Preview(value="3.1") public interface RerankingDialect extends AiModelDialect
| Modifier and Type | Method and Description |
|---|---|
String |
buildRequestJson(RerankingConfig config,
RerankingOptions options,
String query,
List<Document> documents)
构建请求数据
|
boolean |
matched(RerankingConfig config)
匹配检测
|
RerankingResponse |
parseResponseJson(RerankingConfig config,
String respJson)
分析响应数据
|
boolean matched(RerankingConfig config)
config - 聊天配置String buildRequestJson(RerankingConfig config, RerankingOptions options, String query, List<Document> documents)
config - 聊天配置options - 聊天选项RerankingResponse parseResponseJson(RerankingConfig config, String respJson)
config - 聊天配置Copyright © 2025. All rights reserved.