@graphai/input_agents
v0.2.0
Published
Input agents for GraphAI.
Downloads
218
Readme
@graphai/input_agents for GraphAI
Input agents for GraphAI.
Install
yarn add @graphai/input_agents
Usage
import { GraphAI } from "graphai";
import { textInputAgent } from "@graphai/input_agents";
const agents = { textInputAgent };
const graph = new GraphAI(graph_data, agents);
const result = await graph.run();
Agents description
- textInputAgent - Text Input Agent
Input/Output/Params Schema & samples
Input/Params example
- textInputAgent
{
"inputs": {},
"params": {
"message": "Enter your message to AI."
}
}
{
"inputs": {},
"params": {
"message": "Enter your message to AI.",
"role": "system"
}
}