@ graphai/ groq 图形化代理
GraphAI的格罗克探员.
安装
yarn add @graphai/groq_agent
使用量
import { GraphAI } from "graphai";
import { groqAgent } from "@graphai/groq_agent";
const agents = { groqAgent };
const graph = new GraphAI(graph_data, agents);
const result = await graph.run();
代理人说明
- groq 代理 - Groq 代理
输入/输出/图像Schema和样本
环境变量
- 对话框
- (原始内容存档于2013-10-12). GROQ API KEY
图表数据示例
图表数据GroqMath
{
"version": 0.5,
"nodes": {
"inputData": {
"value": "hello, let me know the answer 1 + 1"
},
"llm": {
"agent": "groqAgent",
"inputs": {
"prompt": ":inputData"
},
"params": {
"model": "llama-3.1-8b-instant"
}
}
}
}