Skip to content

Commit

Permalink
Minpr typo fix storage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Hack666r authored Jan 13, 2025
1 parent b482043 commit a7d92ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/docs/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ ctx.storage.set("key", "value")
```
within a handler, where `ctx` is the agent's `Context` object.

This will save the information in a JSON file, you can retreive it a any time using:
This will save the information in a JSON file, you can retrieve it a any time using:

```python
ctx.storage.get("key")
```


See the [restaurant booking demo](booking-demo.md) for an example that makes use of the agent's storage to store table information.
See the [restaurant booking demo](booking-demo.md) for an example that makes use of the agent's storage to store table information.

0 comments on commit a7d92ee

Please sign in to comment.