diff --git a/fern/products/docs/pages/ask-fern/ask-ai-chat.mdx b/fern/products/docs/pages/ask-fern/ask-ai-chat.mdx index ccd9517b72..38a37fd5ee 100644 --- a/fern/products/docs/pages/ask-fern/ask-ai-chat.mdx +++ b/fern/products/docs/pages/ask-fern/ask-ai-chat.mdx @@ -1,6 +1,6 @@ --- title: Ask AI chat panel -description: Embed Fern's Ask AI chat panel in any React application, with a floating, inline, or custom trigger. +description: Embed Fern's Ask AI chat panel in any React application, with a floating launcher, a bottom prompt, an inline button, or a custom trigger. --- `AskAiChat` renders a sidebar panel with AI chat (no keyword search). It's one of the two components in the [`@fern-api/search-widget` package](/learn/docs/ai-features/ask-fern/search-widget/overview), which covers the prerequisites and the Content Security Policy the widget needs. @@ -51,7 +51,7 @@ description: Embed Fern's Ask AI chat panel in any React application, with a flo ``` - `theme` controls light and dark mode, and `accentColor` sets the accent used for the sparkles, the send button, and links in answers, in both modes. `trigger` chooses between the corner launcher (`floating`), an unpainted button you place and style yourself (`inline`), and no button at all (`none`). + `theme` controls light and dark mode, and `accentColor` sets the accent used for the sparkles, the send button, and links in answers, in both modes. `trigger` chooses between the corner launcher (`floating`), a prompt input centered at the bottom of the viewport (`prompt`), an unpainted button you place and style yourself (`inline`), and no button at all (`none`). ```tsx @@ -94,6 +94,7 @@ description: Embed Fern's Ask AI chat panel in any React application, with a flo * `AskAiChat.Root` holds the state and takes the configuration props: `domain`, `lang`, `searchLocale`, `placement`, `theme`, `accentColor`, `open`, `defaultOpen`, and `onOpenChange`. Its `children` is the subtree to wrap, the menu and the panel. * `AskAiChat.Trigger` is a real `