Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elleai
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
E
ellehuis-group
backend
elleai
Commits
1fe3b7d8
Commit
1fe3b7d8
authored
Oct 24, 2024
by
陈立彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
7f9c37cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
QaAssistantSaveDto.java
...ze/elleai/application/dto/request/QaAssistantSaveDto.java
+1
-1
AppChatCompletionService.java
.../elleai/application/service/AppChatCompletionService.java
+2
-2
No files found.
src/main/java/cn/breeze/elleai/application/dto/request/QaAssistantSaveDto.java
View file @
1fe3b7d8
...
...
@@ -34,7 +34,7 @@ public class QaAssistantSaveDto implements Serializable {
@Schema
(
description
=
"知识库分类ID列表"
)
@JsonProperty
(
"category_ids"
)
private
List
<
String
>
categoryIdList
;
private
List
<
Integer
>
categoryIdList
;
@Schema
(
description
=
"可见角色列表"
)
@JsonProperty
(
"visible_role_ids"
)
...
...
src/main/java/cn/breeze/elleai/application/service/AppChatCompletionService.java
View file @
1fe3b7d8
...
...
@@ -127,8 +127,6 @@ public class AppChatCompletionService {
PageResult
<
QaAssistantDto
>
pageResult
=
PageResult
.
of
(
request
.
getPageNo
(),
request
.
getPageSize
(),
(
int
)
page
.
getTotalRow
(),
null
);
Set
<
String
>
kbIdSet
=
new
HashSet
<>();
if
(
CollectionUtil
.
isNotEmpty
(
page
.
getRecords
()))
{
List
<
QaAssistantDto
>
dtoList
=
page
.
getRecords
().
stream
().
map
(
v
->
{
QaAssistantDto
dto
=
BeanUtil
.
copyProperties
(
v
,
QaAssistantDto
.
class
);
...
...
@@ -266,6 +264,8 @@ public class AppChatCompletionService {
UserQaRequestDto
req
=
new
UserQaRequestDto
();
req
.
setUserId
(
userPrincipal
.
getUserId
());
req
.
setPageNo
(
request
.
getPageNo
());
req
.
setPageSize
(
request
.
getPageSize
());
PageResult
<
UserChatCompletionDto
>
userChatCompletionPageResult
=
userQaMobilePaginQuery
(
req
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment