https://github.com/bekaboo/sotopia-tom
Sotopia (https://github.com/sotopia-lab/sotopia) with theory of mind
https://github.com/bekaboo/sotopia-tom
Last synced: 3 months ago
JSON representation
Sotopia (https://github.com/sotopia-lab/sotopia) with theory of mind
- Host: GitHub
- URL: https://github.com/bekaboo/sotopia-tom
- Owner: Bekaboo
- Created: 2025-04-06T18:34:19.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-04-06T18:54:09.000Z (6 months ago)
- Last Synced: 2025-04-06T19:35:22.228Z (6 months ago)
- Language: Python
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sotopia-ToM
## Generate Scenarios
1. Either export openai api key in environment variable `OPENAI_API_KEY` or specify it using the `--openai-api-key`:
```sh
export OPENAI_API_KEY=...
# or
./gen_scenarios.py --openai-api-key [domains ...]
```2. Run
```sh
./gen_scenarios.py [domains ...]
```To generate and save scenarios in given domains in `generated//`
e.g.
```sh
./gen_scenarios.py Legal Education Finance
```