Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Tasks.md documentation to include example of using output JSON in tasks #746

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

leandrosilvaferreira
Copy link

The documentation in Tasks.md was updated to include an example of how to use the output_json parameter in task definitions. This allows for specifying that the output of a task should be in JSON format. The example demonstrates how to define a task that searches for local companies and outputs the results in a JSON format according to a predefined schema using Pydantic models.

This fix improves the clarity and comprehensiveness of the documentation, making it easier for users to understand and utilize the output_json parameter. It also ensures consistency in the documentation and code examples.

Note: The modifications made to the Tasks.md file are the only ones relevant to this commit message.

… JSON in tasks

The documentation in Tasks.md was updated to include an example of how to use the `output_json` parameter in task definitions. This allows for specifying that the output of a task should be in JSON format. The example demonstrates how to define a task that searches for local companies and outputs the results in a JSON format according to a predefined schema using Pydantic models. Additionally, the tool override mechanism was updated to reflect this change.

This fix improves the clarity and comprehensiveness of the documentation, making it easier for users to understand and utilize the `output_json` parameter. It also ensures consistency in the documentation and code examples.

Note: The modifications made to the Tasks.md file are the only ones relevant to this commit message.
@leandrosilvaferreira leandrosilvaferreira changed the title choe: Update Tasks.md documentation to include example of using output JSON in tasks chore: Update Tasks.md documentation to include example of using output JSON in tasks Jun 9, 2024
Updated the 'Tasks.md' document to provide a more detailed example of the tool override mechanism in CrewAI. The output of a task is now illustrated as a JSON object, demonstrating how the tool override mechanism allows for dynamic adaptation of agent capabilities. The changes made to the document improve the clarity and understanding of the feature.

(Changes in: docs/core-concepts/Tasks.md)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant