Skip to content

Commit

Permalink
tweak(docs): Update Block File Path in Documentation (#8662)
Browse files Browse the repository at this point in the history
Update new_blocks.md doccumentation
  • Loading branch information
Torantulino authored Nov 15, 2024
1 parent 8987fdd commit bd2f172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/platform/new_blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Blocks are reusable components that can be connected to form a graph representin

Follow these steps to create and test a new block:

1. **Create a new Python file** in the `backend/blocks` directory. Name it descriptively and use snake_case. For example: `get_wikipedia_summary.py`.
1. **Create a new Python file** for your block in the `autogpt_platform/backend/backend/blocks` directory. Name it descriptively and use snake_case. For example: `get_wikipedia_summary.py`.

2. **Import necessary modules and create a class that inherits from `Block`**. Make sure to include all necessary imports for your block.

Expand Down

0 comments on commit bd2f172

Please sign in to comment.