@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface AgentTool
| Modifier and Type | Required Element and Description |
|---|---|
String |
inputDesc
工具的输入描述
|
String |
outPutDesc
工具的输出描述
|
String |
toolDesc
工具的描述
|
String |
toolId
工具的唯一标识,在同一个Agent里必须唯一
|
String |
toolPrinciple
工具使用原则,告诉模型在什么情况下使用工具
|
public abstract String toolId
public abstract String toolDesc
public abstract String toolPrinciple
public abstract String inputDesc
public abstract String outPutDesc
Copyright © 2024. All rights reserved.