agentscope.agents.operator module

A common base class for AgentBase and PipelineBase

class agentscope.agents.operator.Operator[源代码]

基类:ABC

Abstract base class Operator defines a protocol for classes that implement callable behavior. The class is designed to be subclassed with an overridden __call__ method that specifies the execution logic for the operator.