This is an experimental tree-based writing interface for GPT-3. The code is actively being developed and thus unstable and poorly documented.
-
Read mode
- Linear story view
- Tree nav bar
- Edit mode
-
Tree view
- Explore tree visually with mouse
- Expand and collapse nodes
- Change tree topology
- Edit nodes in place
-
Navigation
- Hotkeys
- Bookmarks
- Chapters
- 'Visited' state
-
Generation
- Generate N children with GPT-3
- Modify generation settings
- Change hidden memory on a node-by-node basis
-
File I/O
- Open/save trees as JSON files
- Work with trees in multiple tabs
- Combine trees
ooo what features! wow so cool
Open: o
, Control-o
Import JSON as subtree: Control-Shift-KeyPress-O
Save: s
, Control-s
Chapter settings: Control-y
Generation Settings: Control-p
Visualization Settings: Control-u
Multimedia dialogue: u
Show Info: i
, Control-i
Toggle edit: e
, Control-e
Toggle visualize: j
, Control-j
Child edit: c
Go to checkpoint: t
Go to child: Right
, Control-Right
Go to next bookmark: d
, Control-d
Go to next sibling: Down
, Control-Down
Go to parent: Left
, Control-Left
Go to prev bookmark: a
, Control-a
Go to previous Sibling: Up
, Control-Up
Next: period
, Return
, Control-period
Prev: comma
, Control-comma
Return to root: r
, Control-r
Walk: w
, Control-w
Save checkpoint: Control-t
Toggle bookmark: b
, Control-b
Delete: BackSpace
, Control-BackSpace
Generate: g
, Control-g
Merge with Parent: Shift-Left
Merge with children: Shift-Right
Change parent: Shift-P
New Child: h
, Control-h
, Alt-Right
New Parent: Alt-Left
New Sibling: Alt-Down
Enter text: Control-bar
Escape textbox: Escape
Prepend newline: n
, Control-n
Prepend space: m
, Control-m
Collapse all except subtree: Control-colon
Collapse node: Control-question
Collapse subtree: Control-minus
Center view: l
, Control-l
Expand children: Control-quotedbl
Expand subtree: Control-plus
Reset zoom: Control-0
-
Install requirements
pip install -r requirements.txt
-
Run main.py
-
Load a json tree
-
Read :)