alepha@docs:~/docs/.content/release/framework/docs/packages/@alepha-ui$
cat ai.md | pretty
1 min read
Last commit:

#@alepha/ui - Ai

#Installation

npm install @alepha/ui

#Overview

The in-app assistant on the client: a chat drawer with streamed replies, history and a confirmation card per mutation, the headless useAiChat, and useAiContext for a page to declare what it shows. Talks to alepha/api/ai.

#API Reference

#React Hooks

  • useAiChat - The state and actions of an assistant conversation, without any UI: what
  • useAiContext - Declare what the current page shows the assistant: a short page name,