@ai-aura/web-widget
v1.0.1
Published
AURA AI Assistant Widget - Multi-tenant embeddable chat widget with text and voice modes
Maintainers
Readme
AURA Web Widget
Embeddable AI assistant widget with text and voice modes.
Installation
npm install @ai-aura/web-widgetUsage
Angular
// app.config.ts
import { AURA_WIDGET_CONFIG } from '@ai-aura/web-widget';
export const appConfig = {
providers: [
{
provide: AURA_WIDGET_CONFIG,
useValue: {
apiKey: 'YOUR_API_KEY',
endpoint: 'https://your-backend.com'
}
}
]
};<!-- In your template -->
<aura-widget></aura-widget>Web Component (HTML/React/Vue/Next.js)
<script src="https://your-cdn.com/aura-widget.js"></script>
<aura-assistant
api-key="YOUR_API_KEY"
endpoint="https://your-backend.com"
theme="dark">
</aura-assistant>Configuration
| Attribute | Description |
|-----------|-------------|
| api-key | Your API key (required) |
| endpoint | Backend URL (required) |
| theme | dark or light |
| primary-color | Primary color (hex) |
| accent-color | Accent color (hex) |
| position | bottom-right or bottom-left |
License
MIT
