Skip to main content

portia.execution_agents.conditional_evaluation_agent

Conditional evaluation agent for PlanV2.

BooleanResponse Objects

class BooleanResponse(BaseModel)

Boolean response for conditional evaluation.

ConditionalEvaluationAgent Objects

class ConditionalEvaluationAgent()

Conditional evaluation agent for PlanV2.

__init__

def __init__(config: Config) -> None

Initialize the conditional evaluation agent.

execute

@traceable(name="Conditional Evaluation Agent - Execute")
async def execute(conditional: str, arguments: dict[str, Any]) -> bool

Execute the conditional evaluation agent.