Commit 83ed1ce8 authored by yangyw's avatar yangyw

feature: 增加片段返回

parent 7e3308d3
......@@ -27,4 +27,5 @@ public class UserAskResultMobileDto implements Serializable {
@Schema(description = "热门推荐问题")
@JsonProperty("hots")
private List<HotQaMobileDto> hots;
}
......@@ -52,8 +52,6 @@ public class TencentCloudFacade {
if (ArrayUtil.isNotEmpty(response.getList())) {
for (DocSegment docSegment : response.getList()) {
sb.append(docSegment.getTitle());
sb.append("\n");
sb.append(docSegment.getPageContent());
}
}
return sb.toString();
......
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