-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
base: main
Are you sure you want to change the base?
Conversation
… 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.
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)
This PR is stale because it has been open for 45 days with no activity. |
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #746OverviewThe changes in this PR enhance the Strengths
Areas for Improvement
Technical Recommendations
General Suggestions
ConclusionThe adjustments made significantly enhance the understanding of JSON output functionality in CrewAI tasks. The documentation now offers clearer guidance and practical implementations. Implementing the suggested enhancements will address the identified gaps and strengthen the resource for users at varying levels of expertise. These changes will ultimately improve the overall user experience by providing comprehensive guidance on implementing JSON output in CrewAI tasks. Impact Assessment
Your efforts in enhancing the documentation are commendable, and I look forward to seeing the implementation of the recommendations! |
Hey @leandrosilvaferreira, thanks for your pull request! When you get a chance, could you take a look at the comment from the Crew above? Also, we’ve made some exciting updates to our documentation (docs.crewai.com/) and moved around a few files. It would be awesome if you could check whether your PR is still relevant to these changes. Thanks |
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.