1
0
Fork 0

describe world templates
Run Docker Build / build (push) Failing after 11s Details
Run Python Build / build (push) Failing after 17s Details

This commit is contained in:
Sean Sube 2024-05-27 15:04:17 -05:00
parent 564b4b5857
commit c631be02b4
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 36 additions and 1 deletions

View File

@ -145,6 +145,9 @@ OLLAMA_NUM_CTX=8192
These environment variables need to be set in the terminal where TaleWeave AI will be running, they are _not_ used by These environment variables need to be set in the terminal where TaleWeave AI will be running, they are _not_ used by
the Ollama server. the Ollama server.
If you receive errors from Ollama and the logs indicate that it has run out of CUDA memory, decrease the number of
layers that are moved to the GPU by decreasing the value of the `OLLAMA_NUM_GPU` variable.
Please see the Ollama docs for more details: Please see the Ollama docs for more details:
- https://github.com/ollama/ollama?tab=readme-ov-file#ollama - https://github.com/ollama/ollama?tab=readme-ov-file#ollama
@ -256,7 +259,8 @@ COMFY_API="127.0.0.1:8188"
### Recommended: Configure image generation ### Recommended: Configure image generation
_Note:_ This step is _required_ if you are using the `--render` or `--render-generated` command-line arguments. _Note:_ This step is _required_ if you are using the `--render` or `--render-generated` command-line arguments. If you
launched ComfyUI, do this step too.
Copy the `config.yml` file to a file named `custom_config.yml` and edit the `render` section to use your desired Copy the `config.yml` file to a file named `custom_config.yml` and edit the `render` section to use your desired
parameters for image generation. Make sure the `checkpoints` are valid file names in your checkpoints folder. If you parameters for image generation. Make sure the `checkpoints` are valid file names in your checkpoints folder. If you
@ -338,6 +342,37 @@ world:
### Choose a world prompt or template ### Choose a world prompt or template
The world prompt has two parts: the main theme and the secondary flavor text used by the dungeon master and world
builder to make a more unique and interesting world.
Some world templates are provided in the [`taleweave/prompts.yml` file](../../taleweave/prompts.yml), which you can
use to get started, or create your own prompt and generate a unique world.
Example world templates include:
- `outback-animals`
- talking animal truckers in the Australian outback
- `grimdark-hedgehogs`
- grimdark future where humans wage a desperate war for survival against hedgehogs
- `nyc-apartment`
- crowded apartment building in New York City
- `cyberpunk-utopia`
- wealthy cyberpunk utopia with a dark secret
- `haunted-house`
- haunted house in the middle of nowhere
- `magical-kingdom`
- dangerous magical fantasy world
- `cryptid-town`
- a mysterious town in the Pacific Northwest filled with strange cryptids and private investigators searching for them
- `jurassic-park`
- opening scenes from Jurassic Park
- `star-wars`
- opening scenes from Star Wars
These templates include a variety of different settings to show how flexible the world generator can be. You can use
a brief idea, a more detailed setting, summarize a short story, or even use well-known pop culture references (results
will be better for classic movies and literature than lesser-known media).
### Launch the game ### Launch the game
To start a game simulation using the "outback animals" example prompt and running both the Discord both and websocket To start a game simulation using the "outback animals" example prompt and running both the Discord both and websocket