pycityagent 2.0.0a66__cp312-cp312-macosx_11_0_arm64.whl → 2.0.0a67__cp312-cp312-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pycityagent/agent/agent.py +157 -57
- pycityagent/agent/agent_base.py +316 -43
- pycityagent/cityagent/bankagent.py +49 -9
- pycityagent/cityagent/blocks/__init__.py +1 -2
- pycityagent/cityagent/blocks/cognition_block.py +54 -31
- pycityagent/cityagent/blocks/dispatcher.py +22 -17
- pycityagent/cityagent/blocks/economy_block.py +46 -32
- pycityagent/cityagent/blocks/mobility_block.py +130 -100
- pycityagent/cityagent/blocks/needs_block.py +101 -44
- pycityagent/cityagent/blocks/other_block.py +42 -33
- pycityagent/cityagent/blocks/plan_block.py +59 -42
- pycityagent/cityagent/blocks/social_block.py +167 -116
- pycityagent/cityagent/blocks/utils.py +13 -6
- pycityagent/cityagent/firmagent.py +17 -35
- pycityagent/cityagent/governmentagent.py +3 -3
- pycityagent/cityagent/initial.py +79 -44
- pycityagent/cityagent/memory_config.py +108 -88
- pycityagent/cityagent/message_intercept.py +0 -4
- pycityagent/cityagent/metrics.py +41 -0
- pycityagent/cityagent/nbsagent.py +24 -36
- pycityagent/cityagent/societyagent.py +7 -3
- pycityagent/cli/wrapper.py +2 -2
- pycityagent/economy/econ_client.py +407 -81
- pycityagent/environment/__init__.py +0 -3
- pycityagent/environment/sim/__init__.py +0 -3
- pycityagent/environment/sim/aoi_service.py +2 -2
- pycityagent/environment/sim/client.py +3 -31
- pycityagent/environment/sim/clock_service.py +2 -2
- pycityagent/environment/sim/lane_service.py +8 -8
- pycityagent/environment/sim/light_service.py +8 -8
- pycityagent/environment/sim/pause_service.py +9 -10
- pycityagent/environment/sim/person_service.py +20 -20
- pycityagent/environment/sim/road_service.py +2 -2
- pycityagent/environment/sim/sim_env.py +21 -5
- pycityagent/environment/sim/social_service.py +4 -4
- pycityagent/environment/simulator.py +249 -27
- pycityagent/environment/utils/__init__.py +2 -2
- pycityagent/environment/utils/geojson.py +2 -2
- pycityagent/environment/utils/grpc.py +4 -4
- pycityagent/environment/utils/map_utils.py +2 -2
- pycityagent/llm/embeddings.py +147 -28
- pycityagent/llm/llm.py +122 -77
- pycityagent/llm/llmconfig.py +5 -0
- pycityagent/llm/utils.py +4 -0
- pycityagent/memory/__init__.py +0 -4
- pycityagent/memory/const.py +2 -2
- pycityagent/memory/faiss_query.py +140 -61
- pycityagent/memory/memory.py +393 -90
- pycityagent/memory/memory_base.py +140 -34
- pycityagent/memory/profile.py +13 -13
- pycityagent/memory/self_define.py +13 -13
- pycityagent/memory/state.py +14 -14
- pycityagent/message/message_interceptor.py +253 -3
- pycityagent/message/messager.py +133 -6
- pycityagent/metrics/mlflow_client.py +47 -4
- pycityagent/pycityagent-sim +0 -0
- pycityagent/pycityagent-ui +0 -0
- pycityagent/simulation/__init__.py +3 -2
- pycityagent/simulation/agentgroup.py +145 -52
- pycityagent/simulation/simulation.py +257 -62
- pycityagent/survey/manager.py +45 -3
- pycityagent/survey/models.py +42 -2
- pycityagent/tools/__init__.py +1 -2
- pycityagent/tools/tool.py +93 -69
- pycityagent/utils/avro_schema.py +2 -2
- pycityagent/utils/parsers/code_block_parser.py +1 -1
- pycityagent/utils/parsers/json_parser.py +2 -2
- pycityagent/utils/parsers/parser_base.py +2 -2
- pycityagent/workflow/block.py +64 -13
- pycityagent/workflow/prompt.py +31 -23
- pycityagent/workflow/trigger.py +91 -24
- {pycityagent-2.0.0a66.dist-info → pycityagent-2.0.0a67.dist-info}/METADATA +2 -2
- pycityagent-2.0.0a67.dist-info/RECORD +97 -0
- pycityagent/environment/interact/__init__.py +0 -0
- pycityagent/environment/interact/interact.py +0 -198
- pycityagent/environment/message/__init__.py +0 -0
- pycityagent/environment/sence/__init__.py +0 -0
- pycityagent/environment/sence/static.py +0 -416
- pycityagent/environment/sidecar/__init__.py +0 -8
- pycityagent/environment/sidecar/sidecarv2.py +0 -109
- pycityagent/environment/sim/economy_services.py +0 -192
- pycityagent/metrics/utils/const.py +0 -0
- pycityagent-2.0.0a66.dist-info/RECORD +0 -105
- {pycityagent-2.0.0a66.dist-info → pycityagent-2.0.0a67.dist-info}/LICENSE +0 -0
- {pycityagent-2.0.0a66.dist-info → pycityagent-2.0.0a67.dist-info}/WHEEL +0 -0
- {pycityagent-2.0.0a66.dist-info → pycityagent-2.0.0a67.dist-info}/entry_points.txt +0 -0
- {pycityagent-2.0.0a66.dist-info → pycityagent-2.0.0a67.dist-info}/top_level.txt +0 -0
@@ -1,192 +0,0 @@
|
|
1
|
-
from typing import Any, cast, Union
|
2
|
-
from collections.abc import Awaitable, Coroutine
|
3
|
-
|
4
|
-
import grpc
|
5
|
-
from google.protobuf.json_format import ParseDict
|
6
|
-
from pycityproto.city.economy.v1 import org_service_pb2 as org_service
|
7
|
-
from pycityproto.city.economy.v1 import org_service_pb2_grpc as org_grpc
|
8
|
-
from pycityproto.city.economy.v1 import person_service_pb2 as person_service
|
9
|
-
from pycityproto.city.economy.v1 import person_service_pb2_grpc as person_grpc
|
10
|
-
|
11
|
-
from ..utils.protobuf import async_parse
|
12
|
-
|
13
|
-
__all__ = ["EconomyPersonService", "EconomyOrgService"]
|
14
|
-
|
15
|
-
|
16
|
-
class EconomyPersonService:
|
17
|
-
"""
|
18
|
-
城市模拟经济服务(个人)
|
19
|
-
City simulation economic service (personal)
|
20
|
-
"""
|
21
|
-
|
22
|
-
def __init__(self, aio_channel: grpc.aio.Channel):
|
23
|
-
self._aio_stub = person_grpc.PersonServiceStub(aio_channel)
|
24
|
-
|
25
|
-
def GetPerson(
|
26
|
-
self,
|
27
|
-
req: Union[person_service.GetPersonRequest, dict],
|
28
|
-
dict_return: bool = True,
|
29
|
-
) -> Coroutine[Any, Any, Union[dict[str, Any], person_service.GetPersonResponse]]:
|
30
|
-
"""
|
31
|
-
批量查询人的经济情况(资金、雇佣关系)
|
32
|
-
Query person’s economic situation (funds, employment relationship) in batches
|
33
|
-
|
34
|
-
Args:
|
35
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.GetPersonRequest
|
36
|
-
|
37
|
-
Returns:
|
38
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.GetPersonResponse
|
39
|
-
"""
|
40
|
-
if type(req) != person_service.GetPersonRequest:
|
41
|
-
req = ParseDict(req, person_service.GetPersonRequest())
|
42
|
-
res = cast(
|
43
|
-
Awaitable[person_service.GetPersonResponse], self._aio_stub.GetPerson(req)
|
44
|
-
)
|
45
|
-
return async_parse(res, dict_return)
|
46
|
-
|
47
|
-
def UpdatePersonMoney(
|
48
|
-
self,
|
49
|
-
req: Union[person_service.UpdatePersonMoneyRequest, dict],
|
50
|
-
dict_return: bool = True,
|
51
|
-
) -> Coroutine[
|
52
|
-
Any, Any, Union[dict[str, Any], person_service.UpdatePersonMoneyResponse]
|
53
|
-
]:
|
54
|
-
"""
|
55
|
-
批量修改人的资金
|
56
|
-
Modify person’s money in batches
|
57
|
-
|
58
|
-
Args:
|
59
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.UpdatePersonMoneyRequest
|
60
|
-
|
61
|
-
Returns:
|
62
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.UpdatePersonMoneyResponse
|
63
|
-
"""
|
64
|
-
if type(req) != person_service.UpdatePersonMoneyRequest:
|
65
|
-
req = ParseDict(req, person_service.UpdatePersonMoneyRequest())
|
66
|
-
res = cast(
|
67
|
-
Awaitable[person_service.UpdatePersonMoneyResponse],
|
68
|
-
self._aio_stub.UpdatePersonMoney(req),
|
69
|
-
)
|
70
|
-
return async_parse(res, dict_return)
|
71
|
-
|
72
|
-
|
73
|
-
class EconomyOrgService:
|
74
|
-
"""
|
75
|
-
城市模拟经济服务(组织)
|
76
|
-
City simulation economic service (organizational)
|
77
|
-
"""
|
78
|
-
|
79
|
-
def __init__(self, aio_channel: grpc.aio.Channel):
|
80
|
-
self._aio_stub = org_grpc.OrgServiceStub(aio_channel)
|
81
|
-
|
82
|
-
def GetOrg(
|
83
|
-
self, req: Union[org_service.GetOrgRequest, dict], dict_return: bool = True
|
84
|
-
) -> Coroutine[Any, Any, Union[dict[str, Any], org_service.GetOrgResponse]]:
|
85
|
-
"""
|
86
|
-
批量查询组织的经济情况(员工、岗位、资金、货物)
|
87
|
-
Query the economic status of the organization (employees, positions, funds, goods) in batches
|
88
|
-
|
89
|
-
Args:
|
90
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.GetOrgRequest
|
91
|
-
|
92
|
-
Returns:
|
93
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.GetOrgResponse
|
94
|
-
"""
|
95
|
-
if type(req) != org_service.GetOrgRequest:
|
96
|
-
req = ParseDict(req, org_service.GetOrgRequest())
|
97
|
-
res = cast(Awaitable[org_service.GetOrgResponse], self._aio_stub.GetOrg(req))
|
98
|
-
return async_parse(res, dict_return)
|
99
|
-
|
100
|
-
def UpdateOrgMoney(
|
101
|
-
self,
|
102
|
-
req: Union[org_service.UpdateOrgMoneyRequest, dict],
|
103
|
-
dict_return: bool = True,
|
104
|
-
) -> Coroutine[Any, Any, Union[dict[str, Any], org_service.UpdateOrgMoneyResponse]]:
|
105
|
-
"""
|
106
|
-
批量修改组织的资金
|
107
|
-
Modify organization’s money in batches
|
108
|
-
|
109
|
-
Args:
|
110
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgMoneyRequest
|
111
|
-
|
112
|
-
Returns:
|
113
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgMoneyResponse
|
114
|
-
"""
|
115
|
-
if type(req) != org_service.UpdateOrgMoneyRequest:
|
116
|
-
req = ParseDict(req, org_service.UpdateOrgMoneyRequest())
|
117
|
-
res = cast(
|
118
|
-
Awaitable[org_service.UpdateOrgMoneyResponse],
|
119
|
-
self._aio_stub.UpdateOrgMoney(req),
|
120
|
-
)
|
121
|
-
return async_parse(res, dict_return)
|
122
|
-
|
123
|
-
def UpdateOrgGoods(
|
124
|
-
self,
|
125
|
-
req: Union[org_service.UpdateOrgGoodsRequest, dict],
|
126
|
-
dict_return: bool = True,
|
127
|
-
) -> Coroutine[Any, Any, Union[dict[str, Any], org_service.UpdateOrgGoodsResponse]]:
|
128
|
-
"""
|
129
|
-
批量修改组织的货物
|
130
|
-
Modify organization’s goods in batches
|
131
|
-
|
132
|
-
Args:
|
133
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgGoodsRequest
|
134
|
-
|
135
|
-
Returns:
|
136
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgGoodsResponse
|
137
|
-
"""
|
138
|
-
if type(req) != org_service.UpdateOrgGoodsRequest:
|
139
|
-
req = ParseDict(req, org_service.UpdateOrgGoodsRequest())
|
140
|
-
res = cast(
|
141
|
-
Awaitable[org_service.UpdateOrgGoodsResponse],
|
142
|
-
self._aio_stub.UpdateOrgGoods(req),
|
143
|
-
)
|
144
|
-
return async_parse(res, dict_return)
|
145
|
-
|
146
|
-
def UpdateOrgEmployee(
|
147
|
-
self,
|
148
|
-
req: Union[org_service.UpdateOrgEmployeeRequest, dict],
|
149
|
-
dict_return: bool = True,
|
150
|
-
) -> Coroutine[
|
151
|
-
Any, Any, Union[dict[str, Any], org_service.UpdateOrgEmployeeResponse]
|
152
|
-
]:
|
153
|
-
"""
|
154
|
-
批量修改组织的员工
|
155
|
-
Modify organization’s emplpyees in batches
|
156
|
-
|
157
|
-
Args:
|
158
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgEmployeeRequest
|
159
|
-
|
160
|
-
Returns:
|
161
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgEmployeeResponse
|
162
|
-
"""
|
163
|
-
if type(req) != org_service.UpdateOrgEmployeeRequest:
|
164
|
-
req = ParseDict(req, org_service.UpdateOrgEmployeeRequest())
|
165
|
-
res = cast(
|
166
|
-
Awaitable[org_service.UpdateOrgEmployeeResponse],
|
167
|
-
self._aio_stub.UpdateOrgEmployee(req),
|
168
|
-
)
|
169
|
-
return async_parse(res, dict_return)
|
170
|
-
|
171
|
-
def UpdateOrgJob(
|
172
|
-
self,
|
173
|
-
req: Union[org_service.UpdateOrgJobRequest, dict],
|
174
|
-
dict_return: bool = True,
|
175
|
-
) -> Coroutine[Any, Any, Union[dict[str, Any], org_service.UpdateOrgJobResponse]]:
|
176
|
-
"""
|
177
|
-
批量修改组织的岗位
|
178
|
-
Modify organization’s jobs in batches
|
179
|
-
|
180
|
-
Args:
|
181
|
-
- req (dict): https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgJobRequest
|
182
|
-
|
183
|
-
Returns:
|
184
|
-
- https://cityproto.sim.fiblab.net/#city.economy.v1.UpdateOrgJobResponse
|
185
|
-
"""
|
186
|
-
if type(req) != org_service.UpdateOrgJobRequest:
|
187
|
-
req = ParseDict(req, org_service.UpdateOrgJobRequest())
|
188
|
-
res = cast(
|
189
|
-
Awaitable[org_service.UpdateOrgJobResponse],
|
190
|
-
self._aio_stub.UpdateOrgJob(req),
|
191
|
-
)
|
192
|
-
return async_parse(res, dict_return)
|
File without changes
|
@@ -1,105 +0,0 @@
|
|
1
|
-
pycityagent-2.0.0a66.dist-info/RECORD,,
|
2
|
-
pycityagent-2.0.0a66.dist-info/LICENSE,sha256=n2HPXiupinpyHMnIkbCf3OTYd3KMqbmldu1e7av0CAU,1084
|
3
|
-
pycityagent-2.0.0a66.dist-info/WHEEL,sha256=VujM3ypTCyUW6hcTDdK2ej0ARVMxlU1Djlh_zWnDgqk,109
|
4
|
-
pycityagent-2.0.0a66.dist-info/entry_points.txt,sha256=BZcne49AAIFv-hawxGnPbblea7X3MtAtoPyDX8L4OC4,132
|
5
|
-
pycityagent-2.0.0a66.dist-info/top_level.txt,sha256=yOmeu6cSXmiUtScu53a3s0p7BGtLMaV0aff83EHCTic,43
|
6
|
-
pycityagent-2.0.0a66.dist-info/METADATA,sha256=Gd-mcYNBdEIpmg-DYNadjFxVQicXesWi6GK71M85Gfs,9110
|
7
|
-
pycityagent/pycityagent-sim,sha256=vskCJGHJEh0B2dUfmYlVyrcy3sDZ3kBNwjqcYUZpmO8,35449490
|
8
|
-
pycityagent/__init__.py,sha256=PUKWTXc-xdMG7px8oTNclodsILUgypANj2Z647sY63k,808
|
9
|
-
pycityagent/pycityagent-ui,sha256=K2XXJhxIoIk4QWty5i-0FuzZJekkFlbeqrJgPX3tbdE,41225346
|
10
|
-
pycityagent/metrics/mlflow_client.py,sha256=bTrqYsRfNfjJd6l91hU8vN7JXzJC7DHiM2XbkhMuXIU,4613
|
11
|
-
pycityagent/metrics/__init__.py,sha256=X08PaBbGVAd7_PRGLREXWxaqm7nS82WBQpD1zvQzcqc,128
|
12
|
-
pycityagent/metrics/utils/const.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
pycityagent/economy/__init__.py,sha256=aonY4WHnx-6EGJ4WKrx4S-2jAkYNLtqUA04jp6q8B7w,75
|
14
|
-
pycityagent/economy/econ_client.py,sha256=Nf73GPFJgiDbisi8ghmv_Dz6iUlNE2Ey62B-eJ-tQ84,12186
|
15
|
-
pycityagent/tools/__init__.py,sha256=XtdtGyWeFyK1YOUvWkykBWxemtmwQjWUIuuyU1-gosQ,261
|
16
|
-
pycityagent/tools/tool.py,sha256=D-ESFlX7EESm5mcvs2zRlGEQTzXbVfQc8G7Vpz8TmAw,8651
|
17
|
-
pycityagent/llm/llmconfig.py,sha256=4Ylf4OFSBEFy8jrOneeX0HvPhWEaF5jGvy1HkXK08Ro,436
|
18
|
-
pycityagent/llm/__init__.py,sha256=iWs6FLgrbRVIiqOf4ILS89gkVCTvS7HFC3vG-MWuyko,205
|
19
|
-
pycityagent/llm/llm.py,sha256=upm246fUurltONXies4I4oiZ7NkG0Xk8nj4xVRTNV9o,17215
|
20
|
-
pycityagent/llm/embeddings.py,sha256=2_P4TWm3sJKFdGDx2Q1a2AEapFopDctIXsGuntvmP6E,6816
|
21
|
-
pycityagent/llm/utils.py,sha256=hoNPhvomb1u6lhFX0GctFipw74hVKb7bvUBDqwBzBYw,160
|
22
|
-
pycityagent/memory/memory.py,sha256=-o_W0uC_cOPyWPxdXiCLmU9XiTHF82DQYb53RQyYgeg,34588
|
23
|
-
pycityagent/memory/profile.py,sha256=q8ZS9IBmHCg_X1GONUvXK85P6tCepTKQgXKuvuXYNXw,5203
|
24
|
-
pycityagent/memory/__init__.py,sha256=_Vfdo1HcLWsuuz34_i8e91nnLVYADpMlHHSVaB3xgIk,297
|
25
|
-
pycityagent/memory/memory_base.py,sha256=QG_j3BxZvkadFEeE3uBR_kjl_xcXD1aHUVs8GEF3d6w,5654
|
26
|
-
pycityagent/memory/self_define.py,sha256=vpZ6CIxR2grNXEIOScdpsSc59FBg0mOKelwQuTElbtQ,5200
|
27
|
-
pycityagent/memory/utils.py,sha256=oJWLdPeJy_jcdKcDTo9JAH9kDZhqjoQhhv_zT9qWC0w,877
|
28
|
-
pycityagent/memory/const.py,sha256=6zpJPJXWoH9-yf4RARYYff586agCoud9BRn7sPERB1g,932
|
29
|
-
pycityagent/memory/faiss_query.py,sha256=V3rIw6d1_xcpNqZBbAYz3qfjVNE7NfJ7xOS5SibPtVU,13180
|
30
|
-
pycityagent/memory/state.py,sha256=TYItiyDtehMEQaSBN7PpNrnNxdDM5jGppr9R9Ufv3kA,5134
|
31
|
-
pycityagent/simulation/simulation.py,sha256=QRD994g4fRzDTbuCEmYGFdyFxix5a5XnXikgy4L19oc,37765
|
32
|
-
pycityagent/simulation/__init__.py,sha256=P5czbcg2d8S0nbbnsQXFIhwzO4CennAhZM8OmKvAeYw,194
|
33
|
-
pycityagent/simulation/agentgroup.py,sha256=BpUWmN_CWR7-PJhq9e4pSsVjXZWcoW3Wt-gh5MIxQjQ,31674
|
34
|
-
pycityagent/simulation/storage/pg.py,sha256=xRshSOGttW-p0re0fNBOjOpb-nQ5msIE2LsdT79_E_Y,8425
|
35
|
-
pycityagent/message/message_interceptor.py,sha256=w8XTyZStQtMjILpeAX3VMhAWcYAuaxCgSMwXQU1OryM,8951
|
36
|
-
pycityagent/message/__init__.py,sha256=f5QH7DKPqEAMyfSlBMnl3uouOKlsoel909STlIe7nUk,276
|
37
|
-
pycityagent/message/messager.py,sha256=8mhTU2bb9K405_lwd9tN2ha7cCQ9m6hPFxf2fYxRjVg,4368
|
38
|
-
pycityagent/utils/avro_schema.py,sha256=AlADbzV8FxiSfvhQhiX9KhrwMjrx0lGT-lED4TI1gJM,4152
|
39
|
-
pycityagent/utils/__init__.py,sha256=GQEa4x_uJBK19Z57vfm9Omvqg1c4ysi3QJ9wx8xiDhI,524
|
40
|
-
pycityagent/utils/survey_util.py,sha256=o-gvmmfus3vMIN-EMWPzfLbHkDH4DfZb8B-yBd_mGYk,2076
|
41
|
-
pycityagent/utils/pg_query.py,sha256=KAcnBDLyzUu2il18SGXxk8dySdBen_8ejfpxiWuKUMA,2225
|
42
|
-
pycityagent/utils/decorators.py,sha256=Gk3r41hfk6awui40tbwpq3C7wC7jHaRmLRlcJFlLQCE,3160
|
43
|
-
pycityagent/utils/parsers/__init__.py,sha256=AN2xgiPxszWK4rpX7zrqRsqNwfGF3WnCA5-PFTvbaKk,281
|
44
|
-
pycityagent/utils/parsers/code_block_parser.py,sha256=Cs2Z_hm9VfNCpPPll1TwteaJF-HAQPs-3RApsOekFm4,1173
|
45
|
-
pycityagent/utils/parsers/parser_base.py,sha256=KBKO4zLZPNdGjPAGqIus8LseZ8W3Tlt2y0QxqeCd25Q,1713
|
46
|
-
pycityagent/utils/parsers/json_parser.py,sha256=tjwyPluYfkWgsvLi0hzfJwFhO3L6yQfZMKza20HaGrY,2911
|
47
|
-
pycityagent/agent/agent_base.py,sha256=vC1nMWahwi_nVBUXVdC1CnZpqimKZApixD2m2Iqu_bg,24196
|
48
|
-
pycityagent/agent/__init__.py,sha256=U20yKu9QwSqAx_PHk5JwipfODkDfxONtumVfnsKjWFg,180
|
49
|
-
pycityagent/agent/agent.py,sha256=H5AXh92LZZzrGHH8dkwAVTKQIfI8a7xH-83iv50Qejs,11696
|
50
|
-
pycityagent/cli/wrapper.py,sha256=9aG6D2cnmh6aIhiVXKPGKuMjVcdAa-TwzANudb2q_FU,1147
|
51
|
-
pycityagent/workflow/__init__.py,sha256=H08Ko3eliZvuuCMajbEri-IP4-SeswYU6UjHBNA4Ze0,490
|
52
|
-
pycityagent/workflow/prompt.py,sha256=6jI0Rq54JLv3-IXqZLYug62vse10wTI83xvf4ZX42nk,2929
|
53
|
-
pycityagent/workflow/block.py,sha256=4QufS8XnyP6SYp8g1gDODW-H0nAHA7lvivrPGUq1p-w,9922
|
54
|
-
pycityagent/workflow/trigger.py,sha256=Df-MOBEDWBbM-v0dFLQLXteLsipymT4n8vqexmK2GiQ,5643
|
55
|
-
pycityagent/environment/__init__.py,sha256=MyZBwsweDIHOKSX2iSZs748foNtaiyEcyg6sc747T2g,263
|
56
|
-
pycityagent/environment/simulator.py,sha256=QMmxL7xT7zgdJDxINNb1Li1iZsLdqtH2rbqhJhZc14Y,12878
|
57
|
-
pycityagent/environment/message/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
|
-
pycityagent/environment/utils/port.py,sha256=3OM6kSUt3PxvDUOlgyiendBtETaWU8Mzk_8H0TzTmYg,295
|
59
|
-
pycityagent/environment/utils/grpc.py,sha256=6EJwKXXktIWb1NcUiJzIRmfrY0S03QAXXGcCDHqAT00,1998
|
60
|
-
pycityagent/environment/utils/base64.py,sha256=hoREzQo3FXMN79pqQLO2jgsDEvudciomyKii7MWljAM,374
|
61
|
-
pycityagent/environment/utils/__init__.py,sha256=1m4Q1EfGvNpUsa1bgQzzCyWhfkpElnskNImjjFD3Znc,237
|
62
|
-
pycityagent/environment/utils/map_utils.py,sha256=lYOEoCFFK6-e9N5txLMMq4HUlxMqc8Uw1YrGW5oJmgg,5749
|
63
|
-
pycityagent/environment/utils/protobuf.py,sha256=0BsM_G7x2B_6DMIBHe9bjVuQDOXUytNRQ03g9e05F3c,1170
|
64
|
-
pycityagent/environment/utils/geojson.py,sha256=LVHAdEhnZM8d0BoUnuPiIL_gaeXBIIglrLrfje5M0b4,661
|
65
|
-
pycityagent/environment/utils/const.py,sha256=1LqxnYJ8FSmq37fN5kIFlWLwycEDzFa8SFS-8plrFlU,5396
|
66
|
-
pycityagent/environment/sence/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
67
|
-
pycityagent/environment/sence/static.py,sha256=9s7jz8HitstTrk-GqpnVB26oPrjuTyNeL7hcoxjPhV4,29104
|
68
|
-
pycityagent/environment/sidecar/__init__.py,sha256=RFbOf40aYBP4WwRpFkua5tlRE_OtMcMNyp1Lew_aaAU,235
|
69
|
-
pycityagent/environment/sidecar/sidecarv2.py,sha256=beKlYZgt38EQbV1x6NWQo7xVXyB-5QHfbwJexyXu7Tg,3252
|
70
|
-
pycityagent/environment/sim/pause_service.py,sha256=DcAOVRxNkHGk4jyzFkxHMUPgp0Ck4mYHoPh6qxjhhLQ,1744
|
71
|
-
pycityagent/environment/sim/person_service.py,sha256=5r1F2Itn7dKJ2U4hSLovrk5p4qy-2n77MTAv_OlTIwA,10673
|
72
|
-
pycityagent/environment/sim/aoi_service.py,sha256=2UjvUTF4CW4E_L30IRcdwv6t_q1ZdXN3TTLOKSOaaXE,1230
|
73
|
-
pycityagent/environment/sim/sim_env.py,sha256=V3Pf_nsebs07-ZaXPSCaA1HBGv4n7v8yxMz6GKQaZPk,3908
|
74
|
-
pycityagent/environment/sim/lane_service.py,sha256=N2dUe-3XuqqKLsNXt1k4NN8uV-J_ruo08yhaUd_hwOI,3916
|
75
|
-
pycityagent/environment/sim/client.py,sha256=j0f8qjR1nIava4VkoZNEPqW5h08WPdcC5wzM9DP3tIs,3772
|
76
|
-
pycityagent/environment/sim/__init__.py,sha256=JVG6sSD2Hbohl1TtKjuQi7_M7tKMrFh9vl3QV3VA5O0,724
|
77
|
-
pycityagent/environment/sim/social_service.py,sha256=9EFJAwVdUuUQkNkFRn9qZRDfD1brh2fqkvasnXUEBhQ,2014
|
78
|
-
pycityagent/environment/sim/economy_services.py,sha256=xoc-1_H8JmQwJ24oWRS1fD-hGYtz2I-x6BOkQ4yENzU,7106
|
79
|
-
pycityagent/environment/sim/light_service.py,sha256=KVwt7ii_iLGA7gANZe3n6-4RiiPQt1w9H6ZOoizMI04,4242
|
80
|
-
pycityagent/environment/sim/clock_service.py,sha256=gBUujvX_vIFMKVfcLRyk1GcpRRL606opLhNjCYL7Gt4,1363
|
81
|
-
pycityagent/environment/sim/road_service.py,sha256=bKyn3_me0sGmaJVyF6eNeFbdU-9C1yWsa9L7pieDJzg,1285
|
82
|
-
pycityagent/environment/interact/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
83
|
-
pycityagent/environment/interact/interact.py,sha256=ifxPPzuHeqLHIZ_6zvfXMoBOnBsXNIP4bYp7OJ7pnEQ,6588
|
84
|
-
pycityagent/cityagent/memory_config.py,sha256=nBUkLbxmiNtw4J4s34n4brgyFXnhpNYvQxws0c2n-ho,11356
|
85
|
-
pycityagent/cityagent/bankagent.py,sha256=lr4GEcqt-iwA7DXoDry0WXkV6benmdaAyLpswqSpKlY,2120
|
86
|
-
pycityagent/cityagent/__init__.py,sha256=gcBQ-a50XegFtjigQ7xDXRBZrywBKqifiQFSRnEF8gM,572
|
87
|
-
pycityagent/cityagent/firmagent.py,sha256=UVlNN0lpa4cC4PZVqYzQhbc5VJ2oGsA1731mhbCjnR8,4109
|
88
|
-
pycityagent/cityagent/nbsagent.py,sha256=WIXW__6dZ5IrqBqDCjvGbrCshpXzuFRV3Ww6gkYw7p4,4387
|
89
|
-
pycityagent/cityagent/initial.py,sha256=k9iolPtDj5KiOvg_FaDWPpqhLCpP19T8gmGTKLISa40,4694
|
90
|
-
pycityagent/cityagent/societyagent.py,sha256=REGEBWGT7ScKVS9o-x8iJMWSoAPXrMRpBZhAxxYuxS4,20312
|
91
|
-
pycityagent/cityagent/message_intercept.py,sha256=1YMOs6-6bbAaTt7RfMn-ALVIcp0frHN7oqGUkWRy5xE,4519
|
92
|
-
pycityagent/cityagent/governmentagent.py,sha256=HJLuhvEmllu_1KnFEJsYCIasaBJT0BV9Cn_4Y2QGPqg,2791
|
93
|
-
pycityagent/cityagent/blocks/dispatcher.py,sha256=mEa1r3tRS3KI1BMZR_w_sbUGzOj6aUJuiUrsHv1n2n0,2943
|
94
|
-
pycityagent/cityagent/blocks/needs_block.py,sha256=ZAf1cQq1N73YBBPEejYF2vAfEkXXTAVUcvqHIy-9Rhs,14935
|
95
|
-
pycityagent/cityagent/blocks/cognition_block.py,sha256=zDbyyLh5GEqje9INJUJA1gMSDPW0wX5lt6yNu97XXn0,14818
|
96
|
-
pycityagent/cityagent/blocks/social_block.py,sha256=Dust9Tpu145h24gbJzEyy_a-IzbnZ0KtTNwTvteVb6w,15138
|
97
|
-
pycityagent/cityagent/blocks/__init__.py,sha256=wydR0s-cCRWgdvQetkfQnD_PU8vC3eTmt2zntcb4fSA,452
|
98
|
-
pycityagent/cityagent/blocks/economy_block.py,sha256=m5B67cgGZ9nKWtrYeak5gxMoCoKlRbATAsXpFajYKyg,19129
|
99
|
-
pycityagent/cityagent/blocks/utils.py,sha256=8O5p1B8JlreIJTGXKAP03rTcn7MvFSR8qJ1_hhszboU,2065
|
100
|
-
pycityagent/cityagent/blocks/other_block.py,sha256=NnDwxQAO5XZ7Uxe-n3qtrfNItHlwFYk2MQsh2GYDKMQ,4338
|
101
|
-
pycityagent/cityagent/blocks/plan_block.py,sha256=v04ePs-6b86TyaP3fl9HPMwWh3_lHp4cjyoEQBHkoDU,11280
|
102
|
-
pycityagent/cityagent/blocks/mobility_block.py,sha256=rFRqyVnZG-BMXU0VNAkyrpHFYLv0_QUv4o8vI1wdG5A,15042
|
103
|
-
pycityagent/survey/models.py,sha256=YE50UUt5qJ0O_lIUsSY6XFCGUTkJVNu_L1gAhaCJ2fs,3546
|
104
|
-
pycityagent/survey/__init__.py,sha256=rxwou8U9KeFSP7rMzXtmtp2fVFZxK4Trzi-psx9LPIs,153
|
105
|
-
pycityagent/survey/manager.py,sha256=S5IkwTdelsdtZETChRcfCEczzwSrry_Fly9MY4s3rbk,1681
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|