Skip to content

πŸ€– Embed a production-ready AI chatbot widget using JavaScript and Cloudflare Workers, featuring real-time streaming and zero-client dependencies.

License

Notifications You must be signed in to change notification settings

KADOCHIMO/Embeddable-RAG-Chatbot-Widget--JavaScript-Cloudflare-Workers-FullStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Embeddable-RAG-Chatbot-Widget--JavaScript-Cloudflare-Workers-FullStack - Enhance Your Website with a Smart Chatbot

Download Now

πŸš€ Getting Started

Welcome to the Embeddable RAG Chatbot Widget! This app allows you to add a versatile AI-driven chatbot to your website. With just one script tag, you can offer real-time support, answer FAQs, and improve user interaction effortlessly.

πŸ“₯ Download & Install

To get started, visit the Releases page to download the latest version of the Chatbot Widget.

  1. Open the provided link.
  2. Locate the latest release.
  3. Click on the downloadable file to start the process.

βš™οΈ System Requirements

  • A modern web browser (latest versions of Chrome, Firefox, Safari, or Edge).
  • An active Cloudflare account to deploy Cloudflare Workers.
  • Basic knowledge of adding script tags to your website's code.

🌐 Features

  • Real-Time Streaming Responses: Engage users with instant replies.
  • RAG-Powered FAQ Answers: Quickly answer common questions through advanced retrieval-augmented generation.
  • Session Persistence: Maintain user context through their conversations.
  • Dark/Light Mode Support: Easily switch between themes to enhance user experience.
  • Easy Integration: Add the widget to your site using just one script tag.

πŸ”§ Configuration

  1. After downloading, extract the files if they are in a zip format.
  2. Open the extracted folder and locate the index.html file.
  3. In this file, find the section for placing your Cloudflare Worker URL.
  4. Replace the placeholder text with your actual Cloudflare Worker link.
  5. Save your changes.

πŸ”— Embedding on Your Website

To embed the chatbot widget on your website:

  1. Open the HTML file of the webpage where you want the chatbot to appear.

  2. Add the following script tag in the <head> section or just before the closing </body> tag:

    <script src="https://your-worker-url.cloudflareworkers.com/widget.js"></script>
  3. Save the changes and upload the updated HTML file to your web server.

🎨 Customization

You can modify the appearance of the chatbot according to your brand:

  • Change Colors: Adjust the colors in the CSS file to match your site's theme.
  • Modify Text: Edit the welcome message and other texts in the JavaScript file to suit your needs.
  • Add Custom Responses: Customize answers for various FAQs directly in the code.

πŸ”§ Troubleshooting

If you encounter issues:

  • Chatbot does not load: Check if the correct script URL is added to your HTML.
  • No responses: Ensure your Cloudflare Worker is set up correctly and linked.
  • Styling issues: Review your CSS for conflicts or errors.

πŸ› οΈ Support

If you need help, consider checking the discussions section of this repository. You can also reach out with questions about installation or configuration.

πŸ—“οΈ Updates

The application will receive periodic updates to improve functionality and user experience. Keep an eye on the Releases page for the latest versions.

πŸ“„ License

This project is licensed under the MIT License. Feel free to use, modify, and share it as per your requirements.

πŸ—¨οΈ Community Involvement

We encourage contributions and feedback. If you have suggestions or improvements, you can submit them as pull requests or open issues.

πŸ“Œ Topics

This project covers the following topics:

  • ai-assistant
  • ai-chatbot-widget
  • bge-embeddings
  • cloudflare-workers
  • customer-support
  • embeddable-widget
  • faq-chatbot
  • knowledge-based-search
  • kv
  • llama3
  • rag
  • real-time-streaming
  • semantic-search
  • server-sent-events
  • serverless
  • shadow-dom
  • vectorize
  • website-assistant
  • workers-ai
  • workers-kv

Thank you for choosing the Embeddable RAG Chatbot Widget to enhance your website experience!

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •