Skip to content

Commit

Permalink
Merge pull request #870 from isamu/updateDoc
Browse files Browse the repository at this point in the history
update document
  • Loading branch information
isamu authored Dec 30, 2024
2 parents 3eeb849 + e29668d commit e5aa6c5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
10 changes: 10 additions & 0 deletions agents/llm_agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion agents/llm_agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion docs/document_generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion llm_agents/groq_agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"@graphai/llm_utils": "^0.0.2",
"groq-sdk": "^0.9.0"
},
"devDependencies": {},
"types": "./lib/index.d.ts",
"directories": {
"lib": "lib"
Expand Down
2 changes: 1 addition & 1 deletion llm_agents/replicate_agent/src/replicate_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type ReplicateInputs = {
verbose?: boolean;
baseURL?: string;
apiKey?: string;
stream?: boolean;
// stream?: boolean;
messages?: Array<Record<string, any>>;
forWeb?: boolean;
} & GrapAILLMInputBase;
Expand Down
10 changes: 0 additions & 10 deletions packages/agentdoc/templates/readme-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e5aa6c5

Please sign in to comment.