Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
ciecc-agent
Project
Project
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
wangning
ciecc-agent
Commits
aab34c38
Commit
aab34c38
authored
Jan 26, 2026
by
wangning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 智能体
parent
3773ea17
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
13 deletions
+39
-13
workspace.xml
.idea/workspace.xml
+27
-7
AlgoConfig.java
...ava/pro/spss/server/agent/domain/constant/AlgoConfig.java
+1
-1
ChatConstants.java
.../pro/spss/server/agent/domain/constant/ChatConstants.java
+1
-1
ChatServiceImpl.java
...pss/server/agent/service/chatService/ChatServiceImpl.java
+2
-0
AgentFileReader.java
...ain/java/pro/spss/server/agent/utils/AgentFileReader.java
+1
-1
application-wn.yml
src/main/resources/application-wn.yml
+7
-3
No files found.
.idea/workspace.xml
View file @
aab34c38
...
...
@@ -4,13 +4,13 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"26f8285c-12a3-40dc-b957-23c37b8f3c67"
name=
"Changes"
comment=
"fix 智能体知识库
提示词
"
>
<list
default=
"true"
id=
"26f8285c-12a3-40dc-b957-23c37b8f3c67"
name=
"Changes"
comment=
"fix 智能体知识库"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/domain/constant/AlgoConfig.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/domain/constant/AlgoConfig.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/domain/constant/ChatConstants.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/domain/constant/ChatConstants.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/service/chatService/ChatServiceImpl.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/service/chatService/ChatServiceImpl.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/utils/AgentFileReader.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/pro/spss/server/agent/utils/AgentFileReader.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/application-wn.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/application-wn.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/promptwords/algosuggest/algo_suggest.txt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/promptwords/algosuggest/algo_suggest.txt"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/testcases/algo_knowledge/algo_knowledge_260121.jsonl"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/testcases/algo_knowledge/algo_knowledge_260121.jsonl"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/testcases/test_result/res1.xlsx"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/testcases/test_result/result.xlsx"
beforeDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -130,14 +130,34 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1769008126595
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"5"
/>
<task
id=
"LOCAL-00005"
summary=
"fix 智能体知识库"
>
<option
name=
"closed"
value=
"true"
/>
<created>
1769010368548
</created>
<option
name=
"number"
value=
"00005"
/>
<option
name=
"presentableId"
value=
"LOCAL-00005"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1769010368548
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"6"
/>
<servers
/>
</component>
<component
name=
"Vcs.Log.Tabs.Properties"
>
<option
name=
"TAB_STATES"
>
<map>
<entry
key=
"MAIN"
>
<value>
<State
/>
</value>
</entry>
</map>
</option>
</component>
<component
name=
"VcsManagerConfiguration"
>
<MESSAGE
value=
"fix"
/>
<MESSAGE
value=
"fix 智能体知识库 问题"
/>
<MESSAGE
value=
"fix 智能体知识库 提示词"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"fix 智能体知识库 提示词"
/>
<MESSAGE
value=
"fix 智能体知识库"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"fix 智能体知识库"
/>
</component>
<component
name=
"XDebuggerManager"
>
<watches-manager>
...
...
src/main/java/pro/spss/server/agent/domain/constant/AlgoConfig.java
View file @
aab34c38
...
...
@@ -18,7 +18,7 @@ public class AlgoConfig {
public
static
final
String
INTENT_PROMPT
=
TxtFileReader
.
readFile
(
"promptwords/0_0_0.txt"
);
public
static
final
String
RECOGNIZE_ALGO_NAME
=
TxtFileReader
.
readFile
(
"promptwords/
0_1
.txt"
);
public
static
final
String
RECOGNIZE_ALGO_NAME
=
TxtFileReader
.
readFile
(
"promptwords/
algosuggest/algo_suggest
.txt"
);
public
static
final
String
ALGO_1
=
TxtFileReader
.
readFile
(
"promptwords/1.txt"
);
...
...
src/main/java/pro/spss/server/agent/domain/constant/ChatConstants.java
View file @
aab34c38
...
...
@@ -25,7 +25,7 @@ public class ChatConstants {
public
static
final
String
MESSAGE
=
"message"
;
public
static
final
String
USER_PROMPT
=
"\n【用户需求】\n"
;
public
static
final
String
USER_PROMPT
=
"\n
\n
【用户需求】\n"
;
public
static
final
String
DATA_STATUS
=
"【当前状态】"
;
...
...
src/main/java/pro/spss/server/agent/service/chatService/ChatServiceImpl.java
View file @
aab34c38
...
...
@@ -195,6 +195,8 @@ public class ChatServiceImpl implements BaseChatService {
requestParams
.
updateDataId
(
dataId
);
String
rawSample
=
agentFileReader
.
readCsvFileByDataId
(
dataId
,
userChatMessage
.
getUserId
());
log
.
debug
(
"==================rawSample================="
);
log
.
debug
(
rawSample
);
String
data
=
DataSummaryUtil
.
buildSummary
(
rawSample
);
requestParams
.
setDataSummary
(
data
);
// 保存数据概要供后续自动参数生成使用
log
.
debug
(
"Loaded data sample for dataId={} summary length={}"
,
dataId
,
data
.
length
());
...
...
src/main/java/pro/spss/server/agent/utils/AgentFileReader.java
View file @
aab34c38
...
...
@@ -31,7 +31,7 @@ public class AgentFileReader {
String
line
;
int
lineCount
=
0
;
while
((
line
=
reader
.
readLine
())
!=
null
&&
lineCount
<
4
)
{
// 表头 + 前三行数据
while
((
line
=
reader
.
readLine
())
!=
null
)
{
// 表头 + 前三行数据
if
(
lineCount
>
0
)
{
result
.
append
(
"/n"
);
// 行间分隔符
}
...
...
src/main/resources/application-wn.yml
View file @
aab34c38
...
...
@@ -44,7 +44,7 @@ mybatis:
logging
:
level
:
# 业务代码包日志级别(可改为 INFO/DEBUG/WARN/ERROR)
pro.spss.agent
:
DEBUG
pro.spss.
server.
agent
:
DEBUG
# MyBatis 映射与SQL日志(按需开启)
org.mybatis
:
INFO
org.springframework.web
:
INFO
...
...
@@ -52,9 +52,13 @@ logging:
file
:
path
:
/opt/deploy/idap_server/logs/smart-calls-deepseek
#path:
# csv-file: /shared/deploy/data/files/data/
# analysis-result: /shared/deploy/data/files/data/
path
:
csv-file
:
/opt/deploy/data/files/data/
analysis-result
:
/opt/deploy/data/files/data/
csv-file
:
D:\files\
analysis-result
:
D:\files\
agent
:
api
:
...
...
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