React component library providing a floating chatbot widget that translates natural language into SQL queries, designed for Superset integration. Current stable version is 0.0.14, released about a year ago with no recent updates. Key differentiator: relies on a Chatbot Widget BFF (backend-for-frontend) for authentication, threading, and streaming; does not include client-side permission filtering. Works with React 16.13.1+, includes TypeScript types, and communicates via CustomEvent API.
npm install teko-text2sql-chatbot-widgetNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal integration example showing component import, CSS import, and usage with required env prop.
Add `import 'teko-text2sql-chatbot-widget/dist/index.css';` to your entry file.
Deploy the Chatbot Widget backend and ensure your app shares the same origin or uses proper CORS/session handling.
Use one of the three valid strings: 'dev', 'stag', or 'prod'.
Use `window.addEventListener('chatbot:insert-query', handler)`.Configure permissions in the Chatbot Widget BFF, not in the frontend.
Ensure the package is installed and the import path matches exactly: `import 'teko-text2sql-chatbot-widget/dist/index.css';`
Change import to: `import { ChatbotWidget } from 'teko-text2sql-chatbot-widget';`Use correct syntax: `window.addEventListener('chatbot:insert-query', (e) => { ... });`