ngx-prompt-kit
All blocks

Block

Branch navigation + edit

ChatGPT-style edit-and-regenerate. Edit the user message inline; the assistant has multiple sibling responses you can swap with branch-nav. Both messages have hover-revealed action bars.

Edit user → swap assistant branches

Explain the difference between signal() and computed().
AI signal() holds writable state; computed() derives a read-only value from one or more signals and re-evaluates lazily when its dependencies change.
Branch 1 of 3