top | item 40307950

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

4 points| richardgill88 | 1 year ago |llm-ui.com

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.

discuss

order

No comments yet.