Skip to content

Updating Hey-Ozwell Documentation#312

Open
jlocala1 wants to merge 3 commits into
mieweb:mainfrom
jlocala1:docs/hey-ozwell-docs
Open

Updating Hey-Ozwell Documentation#312
jlocala1 wants to merge 3 commits into
mieweb:mainfrom
jlocala1:docs/hey-ozwell-docs

Conversation

@jlocala1

Copy link
Copy Markdown
Collaborator

Docs-only — no component code changed.

  • Rewrites the Hey Ozwell Overview into full integration docs: quick start
    (drop-in + headless hook), the activation flow, options reference, Visit
    Scribe, a "what runs where" architecture breakdown (AudioWorklet / main
    thread / Web Worker / network), model caching + hosting overrides, backend
    wiring, and troubleshooting.
  • Embeds an 80-second video walkthrough — the first video in the library's
    docs — with a plain-link fallback for environments that block iframes:
    https://www.youtube.com/shorts/hQBGofjXqmg
  • Enables autodocs on the six product-facing voice story files so each
    surface gets the standard generated props page, matching the rest of the
    library.

Note from writing these: markdown pipe tables render as raw text in our
Storybook (no remark-gfm configured), so these docs use lists instead.
Happy to do a follow-up PR adding remark-gfm — it would also fix the
tables in Introduction.mdx.

jlocala1 and others added 3 commits July 15, 2026 12:46
…ce stories

The Overview predated most of what shipped; other components get rich
auto-generated docs pages via autodocs, which the Hey Ozwell stories never
enabled. This brings the voice docs in line with the rest of the library:

- HeyOzwell.mdx rewritten as the flagship overview: quick start (drop-in +
  headless hook), the activation flow as the user experiences it, a full
  options table, Visit Scribe, a "what runs where" architecture table
  (AudioWorklet / main thread / Web Worker / network), models-caching-hosting
  table with the runtime overrides, backend integration seams (onSend /
  ozwellConfig / Ollama sentinel / proxy note), and a troubleshooting section
  (mic permission, first-load download, strict-CSP worker-src, doctor-gate
  tuning, benign ORT warnings).
- tags: ['autodocs'] on the six product-facing story files (+ component on
  Demo and Hands-Free Chat) so each surface gets the standard generated docs
  page with props tables from the existing JSDoc. The Speaker Verify dev
  diagnostic intentionally stays autodocs-free.

Docs-only; no component code changed. Verified: storybook serves all 7 docs
pages, story tests 11/11, prettier/tsc/eslint clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… storybook), drop mid-sentence em dashes

Pipe tables render as raw text in this Storybook's MDX (remark-gfm is not
configured), so the options / architecture / hosting tables are now bulleted
lists that render everywhere. Also reworded to remove mid-sentence em dashes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
First video embed in the library's docs: an 80s walkthrough of activation,
dictation during model load, on-device transcription, the voice stop phrase,
Visit Scribe diarization, and the one-line integration. Plain YouTube link
included as a fallback for environments that block the iframe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 16, 2026 16:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Expands the Hey Ozwell Storybook documentation from a short overview into integration-focused docs, and aligns the Hey Ozwell Storybook stories with the library’s autodocs pattern so consumers get generated docs pages for the voice surfaces.

Changes:

  • Rewrites HeyOzwell.mdx into end-to-end integration docs (quick start, flow, options, architecture, hosting/caching, backend wiring, troubleshooting) and embeds a video walkthrough with a link fallback.
  • Enables Storybook autodocs on the Hey Ozwell product-facing story files.
  • Adds missing component metadata where needed for autodocs generation.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/components/AI/HeyOzwell/WakeWord/WakeWord.stories.tsx Enables autodocs for the Wake Word story.
src/components/AI/HeyOzwell/VoiceSetup.stories.tsx Enables autodocs for Voice Setup story docs page generation.
src/components/AI/HeyOzwell/VoiceManager.stories.tsx Enables autodocs for Voice Manager story docs page generation.
src/components/AI/HeyOzwell/VisitScribe.stories.tsx Enables autodocs for Visit Scribe story docs page generation.
src/components/AI/HeyOzwell/HeyOzwell.stories.tsx Enables autodocs and provides component for generated docs/props.
src/components/AI/HeyOzwell/HeyOzwell.mdx Replaces the overview with full integration/architecture/troubleshooting documentation and adds a video embed.
src/components/AI/HeyOzwell/HandsFreeChat.stories.tsx Enables autodocs and provides component for generated docs/props.

Comment on lines +8 to +12
Hey Ozwell is the **voice entry point** for the assistant: wake word, speaker
verification, dictation, hands-free chat, and ambient visit scribing, all
running **on-device, in the browser**. **Audio never leaves the page.** The
only network dependency is the assistant's text reply (any OpenAI-compatible
endpoint), which makes the stack PHI-safe by default.
Comment on lines +16 to +25
<iframe
width="315"
height="560"
src="https://www.youtube.com/embed/hQBGofjXqmg"
title="Hey Ozwell Demo"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
style={{ borderRadius: 12, maxWidth: '100%' }}
/>
Comment on lines 16 to 19
const meta: Meta = {
title: 'Product/Feature Modules/AI/Hey Ozwell/Wake Word',
tags: ['autodocs'],
parameters: {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants