Skip to content

f1sherb0y/LLM-SocialSimulation-DAI

 
 

Repository files navigation

Generalized LLM Based Social Simulation Instrument

Smallville

This repository has its origins in GA but extends beyond it. Our simulation tool is readily scalable and encompasses an offline simulation module (GA) as well as an online simulation module. Additionally, we are in the process of developing a user interface (for launch, display, and interaction) to enhance user-friendliness.

Environment

Frontend Environment Setup

Installing NodeJS

  • For Linux
# Add the repository
curl -sL https://deb.nodesource.com/setup_21.x | sudo -E bash -
# Install NodeJS
sudo apt-get install -y nodejs
sudo apt-get install -y npm

Installing Dependencies

Navigate to the frontend directory:

cd dai_agent_fronted

Run the following command:

npm install

Changing Ports

Modify port1, port2, and port3 in config.yaml to unused ports.

server_ip: 10.72.74.13
front_port: port1
front_port2: port2
back_port: port3

Starting the System

bash start.sh

If you encounter issues, check dai_agent_fronted/stdout.log, environment/frontend_server/stdout.log, and reverie/backend_server/stdout.log for potential port conflicts.

Shutting Down

bash shutdown.sh

Acknowledgements

The source code has been adapted from GA.

About

LLM based Social Simulation by DAI Lab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published