@@ -303,7 +303,7 @@ DISCORD_TOKEN=YOUR_TOKEN
303
303
304
304
### Configure the Discord bot
305
305
306
- Copy the ` config.yml ` file to a file named ` custom_config.yml ` and edit the ` bot ` section to use your desired
306
+ Copy the ` config.yaml ` file to a file named ` custom_config.yaml ` and edit the ` bot ` section to use your desired
307
307
parameters for the Discord bot. Make sure the list of ` channels ` includes one or more valid channels in the servers
308
308
to which you invited the bot. By default, this is a channel named ` taleweave ` .
309
309
@@ -323,7 +323,7 @@ The `name_*` fields are used by the bot to refer to itself in messages.
323
323
_Note:_ This step is _required_ if you are using the `--render` or `--render-generated` command-line arguments. If you
324
324
launched ComfyUI, do this step too.
325
325
326
- In your `custom_config.yml `, edit the `render` section to use your desired parameters for image generation. Make sure
326
+ In your `custom_config.yaml `, edit the `render` section to use your desired parameters for image generation. Make sure
327
327
the `checkpoints` are valid file names in your checkpoints folder. If you provide more than one checkpoint, one will be
328
328
randomly selected for each batch of images. Adjust the `sizes` as needed to match the checkpoint and control your memory
329
329
usage.
@@ -356,7 +356,7 @@ render:
356
356
357
357
_Note:_ You only need to do this step if you want to change the host or port where the websocket server will listen.
358
358
359
- In your `custom_config.yml `, edit the `server` section to change the host and port where the websocket server will
359
+ In your `custom_config.yaml `, edit the `server` section to change the host and port where the websocket server will
360
360
listen for connections :
361
361
362
362
` ` ` yaml
@@ -373,7 +373,7 @@ front of the websocket server.
373
373
374
374
_Note:_ You only need to do this step if you want to change the size of the world during generation.
375
375
376
- In your `custom_config.yml `, edit the `world` section to change the size of the rooms and character inventory while
376
+ In your `custom_config.yaml `, edit the `world` section to change the size of the rooms and character inventory while
377
377
generating the world.
378
378
379
379
` ` ` yaml
@@ -432,7 +432,7 @@ world:
432
432
The world prompt has two parts : the main theme and the secondary flavor text used by the dungeon master and world
433
433
builder to make a more unique and interesting world.
434
434
435
- Some world templates are provided in the [`taleweave/prompts.yml ` file](../../taleweave/prompts.yml ), which you can
435
+ Some world templates are provided in the [`taleweave/worlds.yaml ` file](../../taleweave/worlds.yaml ), which you can
436
436
use to get started, or create your own prompt and generate a unique world.
437
437
438
438
Example world templates include :
@@ -468,19 +468,19 @@ server:
468
468
` ` ` bash
469
469
# Start the TaleWeave AI engine
470
470
python3 -m taleweave.main \
471
- --config config.yml \
472
- --prompts prompts/llama-base.yml prompts/llama-quest.yml prompts/ discord-en-us.yml \
471
+ --config config.yaml \
472
+ --prompts prompts/llama-*.yaml prompts/discord-en-us.yaml \
473
473
--world worlds/outback-animals-1 \
474
- --world-template ./worlds.yml :outback-animals \
474
+ --world-template ./worlds.yaml :outback-animals \
475
475
--discord \
476
476
--render \
477
477
--render-generated \
478
478
--server \
479
479
--rooms 3 \
480
480
--turns 30 \
481
481
--optional-actions \
482
- --actions taleweave.systems.sim:init_actions \
483
- --systems taleweave.systems.sim:init_logic
482
+ --actions taleweave.actions.core taleweave.actions.optional taleweave. systems.sim:init_actions \
483
+ --systems taleweave.systems.core taleweave.systems. sim:init_logic
484
484
` ` `
485
485
486
486
This will generate a relatively small world with 3 rooms or areas, run for 30 steps, then save the game and shut down.
@@ -490,7 +490,7 @@ another file named `worlds/outback-animals-1.state.json`. The world can be stopp
490
490
although the step in progress will be lost. The saved state can be resumed and played for any number of additional
491
491
steps by running the server again with the same arguments.
492
492
493
- > Note: `module.name:function_name` and `path/filename.yml :key` are patterns you will see repeated throughout TaleWeave AI.
493
+ > Note: `module.name:function_name` and `path/filename.yaml :key` are patterns you will see repeated throughout TaleWeave AI.
494
494
> They indicate a Python module and function within it, or a data file and key within it, respectively.
495
495
496
496
The optional actions are actions that allow characters to explore and expand the world during the game,
0 commit comments