Extra agents for GraphAI.
yarn add @graphai/extra-agents
import { GraphAI } from "graphai";
import {
arxivAgent,
awesomeChatgptPromptsAgent,
pdf2textAgent,
promptsAgent,
serperAgent,
slackAgent,
ttsNijivoiceAgent,
ttsOpenaiAgent
} from "@graphai/extra-agents";
const agents = {
arxivAgent,
awesomeChatgptPromptsAgent,
pdf2textAgent,
promptsAgent,
serperAgent,
slackAgent,
ttsNijivoiceAgent,
ttsOpenaiAgent
};
const graph = new GraphAI(graph_data, agents);
const result = await graph.run();
- arxivAgent - Arxiv Agent
- awesomeChatgptPromptsAgent - awesomeChatgptPrompts Agent
- pdf2textAgent - Pdf2text Agent
- promptsAgent - Prompts Agent
- serperAgent - serper agent
- slackAgent - Slack Agent
- ttsNijivoiceAgent - TTS nijivoice agent
- ttsOpenaiAgent - OpenAI TTS agent
- arxivAgent
- awesomeChatgptPromptsAgent
- pdf2textAgent
- promptsAgent
- serperAgent
- slackAgent
- ttsNijivoiceAgent
- ttsOpenaiAgent
- arxivAgent
{
"inputs": {},
"params": {
"searchQueryParams": [
{
"include": [
{
"name": "LLM"
}
]
}
],
"sortBy": "lastUpdatedDate",
"sortOrder": "descending",
"start": 0,
"maxResults": 100
}
}
- awesomeChatgptPromptsAgent
{
"inputs": {},
"params": {
"promptKey": "travelGuide"
}
}
- pdf2textAgent
{
"inputs": {
"buffer": {
"type": "Buffer",
"data": [
104,
101,
108,
108,
111,
112,
100,
102
]
}
},
"params": {
"type": "md"
}
}
- promptsAgent
{
"inputs": {},
"params": {
"promptKey": "test"
}
}
- serperAgent
{
"inputs": {
"query": "apple inc"
},
"params": {}
}
- slackAgent
{
"inputs": {
"message": [
"Hello amateraru from GraphAI Slack agent!"
]
},
"params": {
"post_channel": "#p_bootcamp_e_raycast_jp_amaterasu_dev"
}
}
- serperAgent
- SERPER_API_KEY
- ttsNijivoiceAgent
- NIJIVOICE_API_KEY
- ttsOpenaiAgent
- OPENAI_API_KEY