Basic Environment Settings
OASIS provides a powerful simulation environment for social media platforms. This guide covers the basic configuration options for setting up your simulation environment.Environment Initialization
To create a simulation environment, use themake
function from OASIS:
Core Environment Parameters
When initializing the OASIS environment, you can configure the following core parameters:Parameter | Type | Description |
---|---|---|
agent_graph | AgentGraph | An AgentGraph instance that stores all the social agents in the simulation. For more details, see Agent Graph |
platform | DefaultPlatformType or Platform | The platform type to use (TWITTER or REDDIT ) or a custom Platform instance |
database_path | str | Path to create a SQLite database (must end with .db ) |
semaphore | int | Limit on concurrent LLM requests (default: 128) |