Skip to content

Nextstopagent

flowtask.components.NextStopAgent

NextStop Agent.

Run queries using the NextStop Agent.

NextStopAgent

NextStopAgent(loop=None, job=None, stat=None, **kwargs)

Bases: AgentBase, FlowComponent

NextStopAgent.

Overview

The NextStopAgent class is a FlowComponent that integrates with the Parrot AI Agent framework to run queries using the NextStop Agent. It extends the AgentBase class and provides methods for creating and managing the agent's lifecycle within a FlowTask.

run async

run()

run.

Run the NextStop Agent with the provided data.

start async

start(**kwargs)

start.

Initialize (if needed) a task

NextStopResponse

Bases: BaseModel

NextStopResponse is a model that defines the structure of the response for the NextStop agent.