tweak(docs): Update Block File Path in Documentation (#8662)

Update new_blocks.md doccumentation
pull/8651/head
Toran Bruce Richards 2024-11-15 12:46:31 +00:00 committed by GitHub
parent 8987fdd48c
commit bd2f172e6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.