Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
Overview
Overview
Details
Activity
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
shenjunjie
brandkbs2
Commits
3f8c9466
Commit
3f8c9466
authored
Dec 17, 2024
by
陈健智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
方案情感模型个性化配置编辑补充
parent
c7f315f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/main/java/com/zhiwei/brandkbs2/controller/app/AppArticleController.java
+7
-0
src/main/java/com/zhiwei/brandkbs2/service/impl/MarkDataServiceImpl.java
+1
-0
No files found.
src/main/java/com/zhiwei/brandkbs2/controller/app/AppArticleController.java
View file @
3f8c9466
...
...
@@ -340,6 +340,13 @@ public class AppArticleController extends BaseController {
return
markDataService
.
updateNonManualProjectPlan
(
dto
);
}
@ApiOperation
(
"非人工项目-方案设置-编辑方案情感模型个性化配置"
)
@PostMapping
(
"/non-manual/plan/config/update"
)
public
ResponseResult
updateNonManualModelCustomConfig
(
@ApiParam
(
name
=
"json:{id:方案id, modelCustomConfig:{coreWordType:核心词类型,coreWord:核心词,negativeWord:负面词,negativePoints:[负面观点,...],positiveWord:正面词,positivePoints:[正面观点,...]} }"
)
@RequestBody
JSONObject
json
){
markDataService
.
updateNonManualModelCustomConfig
(
json
);
return
ResponseResult
.
success
();
}
@ApiOperation
(
"非人工项目-方案设置-数据量预估"
)
@PutMapping
(
"/non-manual/plan/prediction"
)
public
ResponseResult
getPlanDataPrediction
(
@ApiParam
(
name
=
"json:{keyword:关键词, filterWord:去噪词)"
)
@RequestBody
JSONObject
json
){
...
...
src/main/java/com/zhiwei/brandkbs2/service/impl/MarkDataServiceImpl.java
View file @
3f8c9466
...
...
@@ -2044,6 +2044,7 @@ public class MarkDataServiceImpl implements MarkDataService {
NonManualProjectPlan
plan
=
new
NonManualProjectPlan
(
dto
);
plan
.
setCTime
(
existPlan
.
getCTime
());
plan
.
setIStarShineSubjectTaskId
(
existPlan
.
getIStarShineSubjectTaskId
());
plan
.
setModelCustomConfig
(
existPlan
.
getModelCustomConfig
());
Project
project
=
projectService
.
getProjectById
(
UserThreadLocal
.
getProjectId
());
// 商业数据源同时修改快搜订阅任务
if
(
project
.
getExternalDataSource
()){
...
...
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