delphi-react-components
v0.0.13
Published
A React component library for Delphi. Chat with your data using AI.
Downloads
105
Readme
Delphi React Components
ChatWindow
Usage
const ChatWindow = dynamic(
() => import("delphi-react-components").then((mod) => mod.ChatWindow),
{
ssr: false,
}
);
export default function Chat(props: Props) {
...
return (
<ChatWindow
delphiCredentials={{
apiUrl: process.env.NEXT_PUBLIC_API_URL,
clientId,
apiKey,
}}
dataCredentials={{
email, // only required for some Looker integrations
}}
shouldShowDataTable={false}
/>
);
}