包package
agentscope.sopagentscope.sop
module agentscope.sop
agentscope.sop 属于规划与工作流,目标分解、SOP 与流水线。 该包共收录 9 个公开类型。
A :class:SOP says which steps there are and what each must prove; how
a step gets there is its own business. :class:SOPEngine walks them,
routes answers to whichever one parked, and records verdicts in a
:class:SOPRunState that outlives the process.
A definition holds no run state, so one can drive any number of runs.
源码Source
agentscope/sop/__init__.py:1类Classes
AgentLike类class | 智能体 Like,把复杂任务拆分为可执行步骤并驱动流程。 What a step needs of whatever does its work or judges it. |
SOP类class | SOP,把复杂任务拆分为可执行步骤并驱动流程。 A fixed sequence of milestones, each verified before the next. |
SOPEngine类class | SOP 引擎,把复杂任务拆分为可执行步骤并驱动流程。 One run of a :class:`~._schema.SOP`, shaped like an agent. |
SOPPhase类class | SOP 阶段,把复杂任务拆分为可执行步骤并驱动流程。 Where a step, or a whole run, stands. |
SOPRunState类class | SOP 运行状态,把复杂任务拆分为可执行步骤并驱动流程。 One execution of a SOP, and the whole of what is worth saving. |
SOPStep类class | SOP 步骤,把复杂任务拆分为可执行步骤并驱动流程。 The usual shape: someone does the work, someone else judges it. |
SOPStepBase类class | SOP 步骤基类,把复杂任务拆分为可执行步骤并驱动流程。 One milestone: a name, what it must prove, and how many tries. |
SOPStepRunState类class | SOP 步骤运行状态,把复杂任务拆分为可执行步骤并驱动流程。 What one step did in one run. |
VerificationResult类class | Verification 结果,把复杂任务拆分为可执行步骤并驱动流程。 One settled verdict on one attempt. |