20 lines
447 B
Python
20 lines
447 B
Python
from pydantic import BaseModel
|
|
|
|
from control_backend.schemas.program import BaseGoal
|
|
from control_backend.schemas.program import Belief as ProgramBelief
|
|
|
|
|
|
class BeliefList(BaseModel):
|
|
"""
|
|
Represents a list of beliefs, separated from a program. Useful in agents which need to
|
|
communicate beliefs.
|
|
|
|
:ivar: beliefs: The list of beliefs.
|
|
"""
|
|
|
|
beliefs: list[ProgramBelief]
|
|
|
|
|
|
class GoalList(BaseModel):
|
|
goals: list[BaseGoal]
|