Skip to content

Commit

Permalink
Very basic documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaestroError committed Feb 1, 2025
1 parent ca899d4 commit 76c1804
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,19 +190,13 @@ class WeatherAgent extends Agent

You can use tools to extend the functionality of agents.

```php
$weatherAgent = new WeatherAgent();
$weatherAgent->useTool(WeatherTool::class);
```
// @todo add examples of all types of tools creation and registration here

### Managing Chat History

You can manage chat history by using the `ChatHistory` class.
You can manage chat history by using agent class per key or user.

```php
$chatHistory = new RedisChatHistory();
$chatHistory->store('Hello, how are you?');
```
// @todo add chat history management methods

## Advanced Usage

Expand Down

0 comments on commit 76c1804

Please sign in to comment.