0.1.2 • Published 9 months ago

aletech-rag-chat-widget v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Aletech RAG Chat Widget

Installation

npm install aletech-rag-chat-widget

Usage in Vanilla JavaScript

<script type="module">
  import { ChatWidget } from 'https://unpkg.com/aletech-rag-chat-widget';
  
  // Create and append the widget
  const widget = new ChatWidget();
  document.body.appendChild(widget);
</script>

Usage in React

import { ChatWidget } from 'aletech-rag-chat-widget';

function App() {
  return <ChatWidget />;
}

Test Widget

A test-widget.html is provided to demonstrate basic usage:

  • Open test-widget.html in a browser
  • Verifies widget loads without dependencies
  • Shows pure JavaScript integration

Development

  • npm run dev: Start development server
  • npm run build: Build for production
  • npm publish: Publish to npm

License

MIT

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago