Skip to content

Commit

Permalink
[CLEANUP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye Gomez authored and Kye Gomez committed Jun 16, 2024
1 parent 09838bd commit b7011ad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
Binary file added docs/assets/img/agent_def.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 0 additions & 20 deletions docs/swarms/agents/toolagent.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,6 @@ The `ToolAgent` class represents an intelligent agent capable of performing a sp

The primary objective of the `ToolAgent` class is to amplify the efficiency of developers and AI practitioners by simplifying the process of generating meaningful outputs that navigate the complexities of the model and tokenizer.

### Class Definition

The `ToolAgent` class has the following definition:

```python
class ToolAgent(BaseLLM):
def __init__(
self,
name: str,
description: str,
model: Any,
tokenizer: Any,
json_schema: Any,
*args,
**kwargs,
)
def run(self, task: str, *args, **kwargs)
def __call__(self, task: str, *args, **kwargs)
```

### Arguments

The `ToolAgent` class takes the following arguments:
Expand Down
12 changes: 1 addition & 11 deletions docs/swarms/framework/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,7 @@ Below are visual graphs illustrating the hierarchical and tree structure of the

#### 1. Foundational Components: Models, Tools, Memory

```mermaid
graph TD;
Models --> Agents
Tools --> Agents
Memory --> Agents
subgraph Foundational_Components
Models
Tools
Memory
end
```
![Diagram](assets/img/agent_def.png)

#### 2. Agents and Their Interactions

Expand Down

0 comments on commit b7011ad

Please sign in to comment.