public class UnifyPythonInterpreter extends PanguUnifyTool
| Constructor and Description |
|---|
UnifyPythonInterpreter(PythonSandBox pythonSandBox) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPanguFunction()
获取pangu Function的定义,在prompt模板中调用
|
String |
getToolId()
工具的唯一标识,在同一个Agent里必须唯一
|
Object |
runFromJson(String json)
运行工具
|
getInputDesc, getInputSchema, getOutputDesc, getOutputSchema, getToolDesc, getToolPrinciple, isEmptyInput, isSingleInputpublic UnifyPythonInterpreter(PythonSandBox pythonSandBox)
Copyright © 2024. All rights reserved.