Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.07 KB

PeriodicAgent.md

File metadata and controls

48 lines (39 loc) · 2.07 KB

PeriodicAgent

Properties

Name Type Description Notes
id int [readonly]
mentor Mentor
title str
username str [readonly]
description str [optional]
prompt str Prompt for the periodic agent if any. [optional]
task PeriodicTask
created_at datetime [readonly]
modified_at datetime [readonly]
enabled bool [readonly]
one_off str [readonly]
platform_key str [readonly]
pathway str [optional]
callback_url str [optional]
callback_secret str [optional]
parent_session_id str [optional]
parent_mentor_id int [optional]
previous_agent int Agent that needs to run before the current agent runs. [optional]
previous_agent_status PreviousAgentStatusEnum The status that the previous agent must be in before this agent gets scheduled. * `success` - Success * `error` - Error * `running` - Running * `pending` - Pending [optional]
previous_agent_output str This will be fed into the run of this agent as part of its input prompt. [readonly]

Example

from iblai.models.periodic_agent import PeriodicAgent

# TODO update the JSON string below
json = "{}"
# create an instance of PeriodicAgent from a JSON string
periodic_agent_instance = PeriodicAgent.from_json(json)
# print the JSON string representation of the object
print(PeriodicAgent.to_json())

# convert the object into a dict
periodic_agent_dict = periodic_agent_instance.to_dict()
# create an instance of PeriodicAgent from a dict
periodic_agent_from_dict = PeriodicAgent.from_dict(periodic_agent_dict)

[Back to Model list] [Back to API list] [Back to README]