diff --git a/agents/llm_agents/README.md b/agents/llm_agents/README.md index f227f06a..595027c9 100644 --- a/agents/llm_agents/README.md +++ b/agents/llm_agents/README.md @@ -9,6 +9,16 @@ LLM agents for GraphAI. yarn add @graphai/llm_agents ``` +| **Agent** | APIKEY | Stream | Tools | Web | History | +|----------------|----------------------|--------|-------|-------|---------| +| anthropicAgent | ANTHROPIC_API_KEY | Y | N | Y(*1) | Y | +| geminiAgent | GOOGLE_GENAI_API_KEY | Y | Y | ? | Y | +| groqAgent | GROQ_API_KEY | Y | Y | Y(*1) | Y | +| openAIAgent | OPENAI_API_KEY | Y | Y | Y(*1) | Y | +| replicateAgent | REPLICATE_API_TOKEN | N | N | ? | N | + +(*1) dangerouslyAllowBrowser + ### Usage diff --git a/agents/llm_agents/package.json b/agents/llm_agents/package.json index d54db0f2..de0dd2d7 100644 --- a/agents/llm_agents/package.json +++ b/agents/llm_agents/package.json @@ -34,7 +34,6 @@ "@graphai/replicate_agent": "^0.2.0", "@graphai/slashgpt_agent": "^0.2.0" }, - "devDependencies": {}, "types": "./lib/index.d.ts", "directories": { "lib": "lib" diff --git a/docs/document_generation.md b/docs/document_generation.md index e8ad3012..e5fa4302 100644 --- a/docs/document_generation.md +++ b/docs/document_generation.md @@ -56,7 +56,9 @@ The implementation of this script is `graphai/packages/agentdoc/src/agentdoc.ts` If you want to add your own text to the readme, add the following md under docs. -GraphDataJSON.md READMEBefore.md READMEAfter.md +- GraphDataJSON.md +- READMEBefore.md +- READMEAfter.md ## markdown template diff --git a/llm_agents/groq_agent/package.json b/llm_agents/groq_agent/package.json index 222dc093..b7fe45b9 100644 --- a/llm_agents/groq_agent/package.json +++ b/llm_agents/groq_agent/package.json @@ -30,7 +30,6 @@ "@graphai/llm_utils": "^0.0.2", "groq-sdk": "^0.9.0" }, - "devDependencies": {}, "types": "./lib/index.d.ts", "directories": { "lib": "lib" diff --git a/llm_agents/replicate_agent/src/replicate_agent.ts b/llm_agents/replicate_agent/src/replicate_agent.ts index 13e1fa47..7128b0bc 100644 --- a/llm_agents/replicate_agent/src/replicate_agent.ts +++ b/llm_agents/replicate_agent/src/replicate_agent.ts @@ -7,7 +7,7 @@ type ReplicateInputs = { verbose?: boolean; baseURL?: string; apiKey?: string; - stream?: boolean; + // stream?: boolean; messages?: Array>; forWeb?: boolean; } & GrapAILLMInputBase; diff --git a/packages/agentdoc/templates/readme-agent.md b/packages/agentdoc/templates/readme-agent.md index f08e5a74..7d8a4fa0 100644 --- a/packages/agentdoc/templates/readme-agent.md +++ b/packages/agentdoc/templates/readme-agent.md @@ -20,16 +20,6 @@ const graph = new GraphAI(graph_data, agents); const result = await graph.run(); ``` -| **Agent** | APIKEY | Stream | Tools | Web | History | -|----------------|----------------------|--------|-------|-------|---------| -| anthropicAgent | ANTHROPIC_API_KEY | Y | N | Y(*1) | Y | -| geminiAgent | GOOGLE_GENAI_API_KEY | Y | Y | ? | Y | -| groqAgent | GROQ_API_KEY | Y | Y | Y(*1) | Y | -| openAIAgent | OPENAI_API_KEY | Y | Y | Y(*1) | Y | -| replicateAgent | REPLICATE_API_TOKEN | N | N | ? | N | - -(*1) dangerouslyAllowBrowser - {relatedAgents} {GraphDataJSON}