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
cb920656
You need to sign in or sign up before continuing.
Commit
cb920656
authored
Apr 11, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化计算器插件描述
parent
0f0d2481
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CalculatorFunction.java
...rce/demand/ai/function/calculator/CalculatorFunction.java
+1
-1
No files found.
src/main/java/cn/com/poc/thirdparty/resource/demand/ai/function/calculator/CalculatorFunction.java
View file @
cb920656
...
...
@@ -26,7 +26,7 @@ public class CalculatorFunction extends AbstractLargeModelFunction {
.
name
(
"calculator"
)
.
description
(
DESC
)
.
parameters
(
new
Parameters
(
"object"
)
.
addProperties
(
"arithmetic_expression"
,
new
Properties
(
"string"
,
"算术表达式,需要精确的算术表达式如6的平方
为 6*6
"
)))
.
addProperties
(
"arithmetic_expression"
,
new
Properties
(
"string"
,
"算术表达式,需要精确的算术表达式如6的平方
或6的2次方为 6*6,9的5次方为9*9*9*9*9
"
)))
.
build
();
@Override
...
...
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