In order to facilitate GA( generative_agents )'s frontend docking data (to avoid changing its code), you can set the value temp_storage_path
to temp_storage
of generative_agents
when start run_st_game.py
. like
python3 run_st_game.py --temp_storage_path path/to/ga/temp_storage xxx
Or change the path under const.py
like beflow
STORAGE_PATH = EXAMPLE_PATH.joinpath("storage")
TEMP_STORAGE_PATH = EXAMPLE_PATH.joinpath("temp_storage")
# updated
STORAGE_PATH = Path("{path/to/ga/storage}")
TEMP_STORAGE_PATH = Path("{path/to/ga/temp_storage}")
This can be used to achieve docking of simulation data without changing the GA code. Otherwise, the GA code must be modified to adapt to the MG output path.
If you don't want to start from 0, copy other simulation directories under generative_agents/environment/frontend_server/storage/
to examples/stanford_town/storage
, and select a directory named fork_sim_code
.
The execution entry is python3 run_st_game.py "Host a open lunch party at 13:00 pm" "base_the_ville_isabella_maria_klaus" "test_sim" 10
or
python3 run_st_game.py "Host a open lunch party at 13:00 pm" "base_the_ville_isabella_maria_klaus" "test_sim" 10 --temp_storage_path path/to/ga/temp_storage
idea
is the user's voice to the first Agent, and it is disseminated through this voice to see whether the final multi-agents achieve the goal of hosting or participating in the event.
Enter project folder generative_agents
Enter environment/frontend_server
and use python3 manage.py runserver
to start the front-end service.
Visit http://localhost:8000/simulator_home
to enter the current simulation interface.
The reproduction work has referred the generative_agents, let's make a general statement here.
@inproceedings{Park2023GenerativeAgents,
author = {Park, Joon Sung and O'Brien, Joseph C. and Cai, Carrie J. and Morris, Meredith Ringel and Liang, Percy and Bernstein, Michael S.},
title = {Generative Agents: Interactive Simulacra of Human Behavior},
year = {2023},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
booktitle = {In the 36th Annual ACM Symposium on User Interface Software and Technology (UIST '23)},
keywords = {Human-AI interaction, agents, generative AI, large language models},
location = {San Francisco, CA, USA},
series = {UIST '23}
}