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
db979b24
You need to sign in or sign up before continuing.
Commit
db979b24
authored
May 12, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:合同信息提取插件
parent
3f3b2975
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ContractExtractionFunction.java
...nd/ai/function/extraction/ContractExtractionFunction.java
+1
-1
No files found.
src/main/java/cn/com/poc/thirdparty/resource/demand/ai/function/extraction/ContractExtractionFunction.java
View file @
db979b24
...
...
@@ -30,7 +30,7 @@ public class ContractExtractionFunction extends AbstractLargeModelFunction {
private
final
FunctionLLMConfig
functionLLMConfig
=
new
FunctionLLMConfig
.
FunctionLLMConfigBuilder
()
.
name
(
"contract_extraction"
)
.
parameters
(
new
Parameters
(
"array"
)
.
addProperties
(
"file
U
rl"
,
new
Properties
(
"string"
,
"文件链接, 合同文件的在线地址"
))
.
addProperties
(
"file
_u
rl"
,
new
Properties
(
"string"
,
"文件链接, 合同文件的在线地址"
))
.
addProperties
(
"key_info"
,
new
Properties
(
"string"
,
"关键信息名称, 长度限制20个字符"
))
.
addProperties
(
"paraphrase_names"
,
new
Properties
(
"array"
,
"相似名字段,字符串数组, 可根据相似名精准抽取关键信息, 最多填写3个,每个释义名称长度限制20个字符"
))
.
addProperties
(
"field_type"
,
new
Properties
(
"string"
,
"字段类型字段, 可选项有,时间:time, 金额:amount, 地址:address, 公司:company, 姓名:name, 描述(长文本):long_text_description, 其他:other, 印章:stamp, 分别对应产品段配置的字段类型"
))
...
...
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