Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
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
1
Merge Requests
1
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
poc
poc-api
Commits
a6da0e92
Commit
a6da0e92
authored
Aug 22, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:null
parent
ed670bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
LongTextDialoguesServiceImpl.java
...document/aggregate/impl/LongTextDialoguesServiceImpl.java
+8
-4
No files found.
src/main/java/cn/com/poc/long_document/aggregate/impl/LongTextDialoguesServiceImpl.java
View file @
a6da0e92
...
@@ -530,8 +530,10 @@ public class LongTextDialoguesServiceImpl implements LongTextDialoguesService {
...
@@ -530,8 +530,10 @@ public class LongTextDialoguesServiceImpl implements LongTextDialoguesService {
logger
.
error
(
"LLM Error,code:{}"
,
result
.
getCode
());
logger
.
error
(
"LLM Error,code:{}"
,
result
.
getCode
());
throw
new
BusinessException
(
"获取总结摘要失败"
);
throw
new
BusinessException
(
"获取总结摘要失败"
);
}
}
String
message
=
result
.
getMessage
();
if
(
StringUtils
.
isNotBlank
(
result
.
getMessage
()))
{
summary
.
append
(
message
);
String
message
=
result
.
getMessage
();
summary
.
append
(
message
);
}
}
}
bufferedReader
.
close
();
bufferedReader
.
close
();
return
summary
.
toString
();
return
summary
.
toString
();
...
@@ -591,8 +593,10 @@ public class LongTextDialoguesServiceImpl implements LongTextDialoguesService {
...
@@ -591,8 +593,10 @@ public class LongTextDialoguesServiceImpl implements LongTextDialoguesService {
logger
.
error
(
"LLM Error,code:{}"
,
result
.
getCode
());
logger
.
error
(
"LLM Error,code:{}"
,
result
.
getCode
());
throw
new
BusinessException
(
"获取核心观点失败"
);
throw
new
BusinessException
(
"获取核心观点失败"
);
}
}
String
message
=
result
.
getMessage
();
if
(
StringUtils
.
isNotBlank
(
result
.
getMessage
()))
{
corePoint
.
append
(
message
);
String
message
=
result
.
getMessage
();
corePoint
.
append
(
message
);
}
}
}
bufferedReader
.
close
();
bufferedReader
.
close
();
return
corePoint
.
toString
();
return
corePoint
.
toString
();
...
...
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