AI Chat

AI chat is the surface an assistant answers through: a thread of questions and replies, a composer to ask in, and the states in between that say the assistant is working. Orvain's AI Chat family holds three blocks: a thread whose reply streams in with numbered sources, a prompt library opened on the composer, and a toolbar that rewrites a selection of text.

What separates a chat people trust from one they second-guess is mostly in the in-between states. A thinking line that names what is being searched, a reply that arrives word by word with a way to stop it, sources numbered against the sentences that use them, and a rewrite shown beside the original before it replaces anything. Each block here carries those states, and drops the animation when a reader asks for reduced motion.

7 blocks

Assistant thread

An assistant panel that answers from your own content and shows its research

Assistant with voice

An assistant people can talk to as well as type to

Assistant home

The first screen of an assistant, before anything is asked

Prompt library

Saved prompts a team reuses, one click from the composer

Rewrite selection

Writing help on text someone has already written

Rewrite toolbar

AI rewriting on light pages, next to a formatting bar

Inline rewrite

Rewriting in place, without a result card

01

Using AI Chat

Reach for it when

  • An assistant that answers from your own content, where showing the sources is what makes an answer usable.
  • A team that reuses the same handful of prompts and should not have to retype them.
  • Writing help on text someone has already written, where they want to see the change before accepting it.

Reach for something else when

  • A fixed set of questions with fixed answers. An FAQ in the Accordion family is faster to read and cannot be wrong.
  • Search over records. A command menu or a filtered list returns the records themselves rather than a paragraph about them.
  • One-shot generation with no follow-up, such as a summary on a page. Show the result in a card with a regenerate action rather than opening a thread.
02

Where it shows up

01

Docs assistant

A panel beside the documentation that answers questions from it. Each reply cites the pages it used as numbered cards under the answer, so a reader can check the claim before they rely on it, and rate the reply when it misses.

02

Editor copilot

A toolbar that appears over selected text in a document, offering to improve, shorten or translate it. The rewrite appears under the original with Replace, Try again and Discard, so nothing a person wrote is lost to a click they did not mean.

03

Questions

Why does the reply stream in rather than appear all at once?

A reply can take several seconds to generate, and streaming turns that wait into visible progress: the reader can start reading after the first words and stop the reply if it is going the wrong way. The block marks the message as busy while it streams, so a screen reader announces the reply once it is complete rather than word by word, and it shows the whole reply at once for readers who prefer reduced motion.

How should an AI reply show where its answer came from?

All blocks
The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.