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

Commits on Jun 9, 2024

  1. fix: Update Tasks.md documentation to include example of using output…

    … 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 committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    ee79aec View commit details
    Browse the repository at this point in the history
  2. fix: Updated Tasks.md to showcase tool override mechanism

    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)
    leandrosilvaferreira committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    1a8a4cd View commit details
    Browse the repository at this point in the history