Commit 745fdd9a authored by Administrator's avatar Administrator

Update AiDialoguesServiceImpl.java

parent 3f532884
......@@ -185,7 +185,7 @@ public class AiDialoguesServiceImpl implements AiDialoguesService {
if (CollectionUtils.isNotEmpty(entities)) {
Collections.shuffle(entities); // 打乱顺序
return entities.stream()
.limit(6) // 取前三
.limit(8) // 取前八
.map(BizAiDialoguesGuessYouAskEntity::getQuestion)
.collect(Collectors.toList());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment