Commit cb920656 authored by alex yao's avatar alex yao

feat: 优化计算器插件描述

parent 0f0d2481
...@@ -26,7 +26,7 @@ public class CalculatorFunction extends AbstractLargeModelFunction { ...@@ -26,7 +26,7 @@ public class CalculatorFunction extends AbstractLargeModelFunction {
.name("calculator") .name("calculator")
.description(DESC) .description(DESC)
.parameters(new Parameters("object") .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(); .build();
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment