fix(knowledge): 移除多余的日志打印
This commit is contained in:
@@ -195,7 +195,6 @@ public class EmbeddingNodes {
|
|||||||
.call()
|
.call()
|
||||||
.content();
|
.content();
|
||||||
Assert.notBlank(response, "LLM response is empty");
|
Assert.notBlank(response, "LLM response is empty");
|
||||||
logger.info("{}", response);
|
|
||||||
// noinspection DataFlowIssue
|
// noinspection DataFlowIssue
|
||||||
return Arrays.stream(StrUtil.trim(response).split("---"))
|
return Arrays.stream(StrUtil.trim(response).split("---"))
|
||||||
.map(text -> text.replaceAll("(?!^.+) +$", ""))
|
.map(text -> text.replaceAll("(?!^.+) +$", ""))
|
||||||
|
|||||||
Reference in New Issue
Block a user