Skip to content

added:knowledge base and aggregated search capabilities#96

Open
Dzy-1026 wants to merge 3 commits into
masterfrom
feature_release
Open

added:knowledge base and aggregated search capabilities#96
Dzy-1026 wants to merge 3 commits into
masterfrom
feature_release

Conversation

@Dzy-1026
Copy link
Copy Markdown

@Dzy-1026 Dzy-1026 commented Jan 6, 2026

  1. Added new knowledge base operation capabilities and knowledge base sessions
  2. Added Wansou aggregate search capability



/**
* 聚合搜素哦请求实体类
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注释错了,改下

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修复

/**
* 构建会话参数
*/
private String buildParam(FileChat chat) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对象可以直接转json吧,有方法,不需要手写一遍

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修复

throw new BusinessException("messages is null");
}
if (StringUtils.isNullOrEmpty(domain)) {
throw new BusinessException("domain value must between [query,para]");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代码只检查了是否为空,没有检查值是否在允许范围内。

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修复

Comment thread websdk-java-spark/src/main/java/cn/xfyun/api/RagClient.java Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants