File size: 354 Bytes
0235be8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from pydantic import BaseModel, Field
from typing import List
class PlanStep(BaseModel):
"""A step for the planning to be followed"""
agent: str
description: str
class Plan(BaseModel):
"""Plan to follow in future"""
steps: List[PlanStep] = Field(
description="different steps to follow, should be in sorted order"
)
|