指标名称需精确匹配

jinan_dev
yaxin 5 months ago
parent 3f45aaaf9d
commit cc1256b3e0

@ -177,7 +177,7 @@ public class ChatServiceImpl implements ChatService {
for (int i = 0; i < adviceList.size(); i++) {
String advice = adviceList.getString(i);
for (ModelIndex modelIndex : modelIndices) {
if (advice.contains(modelIndex.getName())) {
if (advice.equals(modelIndex.getName())) {
Map<String, String> map = new HashMap<>();
map.put("indexType", indexType.get(modelIndex.getIndexType()));
map.put("indexName", modelIndex.getName());

Loading…
Cancel
Save