Settings

Theme

Show HN: LLM-UI – A library for building LLM UIs

llm-ui.com

4 points by richardgill88 2 years ago · 0 comments · 1 min read

Reader

I built llm-ui, a UI library to help build a UI similar to ChatGPT. It operates on language model output strings, so works with any language model.

Quick features:

- Hides partial / broken markdown syntax

- Add your own custom components to LLM output

- Throttling smooths out pauses in the LLM’s streamed output

- Renders output at native frame rate

- Code blocks for every language with Shiki

- Headless: Bring your own styles

The first version is react only for now, but I'm planning to support most frontend frameworks.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection