deep-chat  by OvidijusParsiunas

AI chatbot component for websites

Created 2 years ago
2,709 stars

Top 17.5% on SourcePulse

GitHubView on GitHub
Project Summary

Deep Chat is a highly customizable, embeddable AI chatbot component for websites, targeting developers who want to integrate conversational AI with minimal effort. It offers broad API compatibility, including direct browser connections to major LLM providers and the ability to host models locally, simplifying AI integration for various applications.

How It Works

The component acts as a front-end interface, abstracting the complexities of AI model interaction. It supports connecting to external APIs via configurable request properties or directly in the browser using directConnection for prototyping. For serverless applications, it can leverage webModel to host LLMs client-side. Features like file uploads, webcam capture, and speech-to-text/text-to-speech are handled client-side, enhancing user interaction.

Quick Start & Requirements

  • Install via npm: npm install deep-chat (or npm install deep-chat-react for React).
  • Usage: Add <deep-chat></deep-chat> to your markup.
  • Documentation: deepchat.dev
  • Examples: CodePen examples for various frameworks.
  • Server templates available for Express, Nest, Flask, Spring, Go.

Highlighted Details

  • Direct browser connections to OpenAI, HuggingFace, Cohere, Stability AI, Azure, AssemblyAI.
  • Supports webcam capture, microphone input, Speech-to-Text, and Text-to-Speech.
  • Can host LLMs entirely in the browser using deep-chat-web-llm.
  • Extensive customization options for UI and functionality.

Maintenance & Community

  • Active development with recent updates (v2.1.1).
  • Community contributions are welcomed; issue tickets for bugs and suggestions.
  • Sponsors include dorra techpeace.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is undetermined.

Limitations & Caveats

Direct browser API key usage for directConnection is explicitly noted as for local/prototyping/demo purposes only due to security risks, recommending a proxy service for production. The lack of a stated license poses a significant adoption blocker for commercial or closed-source projects.

Health Check
Last Commit

2 days ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
7
Star History
91 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.