mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Merge pull request #994 from crewAIInc/fix/getting-started-docs
fixed bullet points for crew yaml annoations
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user