Skip to content

ChunkStack

Gnurro edited this page May 19, 2021 · 2 revisions

ChunkStack Mode

Handle ChunkFile content, edit chunk text content, chunk type and add chunks.
ChunkStack Mode

View Window Navigation

Chunks contained in the current ChunkFile are shown in order, and their text content can be edited individually.
The first chunk shown is determined by the number set in the spinbox at the top. To navigate through the stack of chunks, change the number at the top. The number can be changed by clicking the triangles or, when it is selected, by scrolling with the mouse wheel or manually entered by typing. (This will be improved in upcoming versions.)
Currently, six chunks are shown at a time. (This will be configurable in upcoming versions. Display based on chunk token amounts and target context window size is planned.)

Chunk View

Edits to the chunk content text in the text field will be immediatly applied to working data. Note: The ChunkFile still has to be saved to fully preserve edits!
Chunk ID is the index of the chunk in the 'chunks' array in the ChunkFile. This number is also used to navigate through the stack (see above).
Current number of tokens in the content text is recalculated with each edit and displayed.
The chunk type tag is shown in a text field, which is initially locked to prevent accidental editing.

'More' Dropdown/Chunk Tweaks

Clicking the [More] button on a specific chunk opens a dropdown menu with further editing options.

'Add chunk above.'

Clicking this option inserts a new chunk above the specific chunk in the stack. (Currently not reliable! Type and content text will be configurable in upcoming versions.)

'Add chunk below.'

Clicking this option inserts a new chunk below the specific chunk in the stack. (Type and content text will be configurable in upcoming versions.)

'Edit chunk type.'

This option enables editing of the chunk type (tag). The type (tag) is immediatly applied in work data. Note: The ChunkFile still has to be saved to fully preserve edits! More on chunk types and chunk type handling in the ChunkCombiner mode documentation.