Merge pull request #994 from crewAIInc/fix/getting-started-docs

fixed bullet points for crew yaml annoations
This commit is contained in:
Brandon Hancock (bhancock_ai)
2024-07-23 14:36:45 -04:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ We assume you have already installed CrewAI. If not, please refer to the [instal
To create a new project, run the following CLI command: To create a new project, run the following CLI command:
```shell ```shell
$ crewai create my_project $ crewai create <project_name>
``` ```
This command will create a new project folder with the following structure: This command will create a new project folder with the following structure:
@@ -114,16 +114,18 @@ email_summarizer_task:
``` ```
Use the annotations are used to properly reference the agent and task in the crew.py file. Use the annotations are used to properly reference the agent and task in the crew.py file.
Annotations include:
- @agent ### Annotations include:
- @task * @agent
- @crew * @task
- @llm * @crew
- @tool * @llm
- @callback * @tool
- @output_json * @callback
- @output_pydantic * @output_json
- @cache_handler * @output_pydantic
* @cache_handler
crew.py crew.py
```py ```py