Skip to main content

GenieChat

Full-featured chat interface for a single Databricks AI/BI Genie space. Handles message streaming, conversation history, and auto-reconnection via SSE.

Example

import { GenieChat } from "@databricks/appkit-ui/react";

export default function GenieChatExample() {
return (
<div style={{ height: 500, border: "1px solid #e2e8f0", borderRadius: 8 }}>
<GenieChat alias="my-space" />
</div>
);
}

GenieChat

Full-featured chat interface for a single Databricks AI/BI Genie space. Handles message streaming, conversation history, and auto-reconnection via SSE.

Source: packages/appkit-ui/src/react/genie/genie-chat.tsx

Props

PropTypeRequiredDefaultDescription
aliasstring-Genie space alias (must match a key registered with the genie plugin on the server)
basePathstring-Base API path
placeholderstring-Placeholder text for the input
classNamestring-Additional CSS class for the root container

Usage

import { GenieChat } from '@databricks/appkit-ui';

<GenieChat /* props */ />