Generate Task • AI Agent SDK

generate_task: Generate a Task object from the agent's instructions

generate_task

Method

</div>

This is a method of the Agent class in the agent module.

Generate a Task object from the agent’s instructions

Signature

python
def generate_task() -> 'Task'

Returns

ResponseField 'Task'

The result of the operation.

Uses

  • Task

Source

View on GitHub

praisonaiagents/agent/agent.py at line 3764


Related Documentation