agentsociety.cityagent.sharing_params

Module Contents

Classes

API

class agentsociety.cityagent.sharing_params.SocietyAgentConfig

Bases: agentsociety.agent.AgentParams

Configuration for society agent.

block_dispatch_prompt: str

‘Field(…)’

enable_cognition: bool

‘Field(…)’

need_initialization_prompt: str

‘Field(…)’

max_plan_steps: int

‘Field(…)’

plan_generation_prompt: str

‘Field(…)’

class agentsociety.cityagent.sharing_params.SocietyAgentBlockOutput

Bases: agentsociety.agent.BlockOutput

success: bool

None

evaluation: str

None

consumed_time: int

None

node_id: Optional[int]

None

class agentsociety.cityagent.sharing_params.SocietyAgentContext

Bases: agentsociety.agent.AgentContext

current_time: str

‘Field(…)’

current_need: str

‘Field(…)’

current_intention: str

‘Field(…)’

current_emotion: str

‘Field(…)’

current_thought: str

‘Field(…)’

current_location: str

‘Field(…)’

area_information: str

‘Field(…)’

weather: str

‘Field(…)’

temperature: str

‘Field(…)’

other_information: str

‘Field(…)’

plan_target: str

‘Field(…)’

max_plan_steps: int

‘Field(…)’

current_step: dict

‘Field(…)’

plan_context: dict

‘Field(…)’