@graphai/ harmic 图形化代理
GraphAI的麻醉剂.
安装
yarn add @graphai/anthropic_agent
使用量
import { GraphAI } from "graphai";
import { anthropicAgent } from "@graphai/anthropic_agent";
const agents = { anthropicAgent };
const graph = new GraphAI(graph_data, agents);
const result = await graph.run();
代理人说明
- 人类学家-人类学家
输入/输出/图像Schema和样本
环境变量
- 人类代理人
- 安东尼
图表数据示例
图表数据AnthropicMath
{
"version": 0.5,
"nodes": {
"inputData": {
"value": "hello, let me know the answer 1 + 1"
},
"llm": {
"agent": "anthropicAgent",
"inputs": {
"prompt": ":inputData"
}
}
}
}