deep-chat  by OvidijusParsiunas

AI chatbot component for websites

created 2 years ago
2,543 stars

Top 18.8% 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

1 day ago

Responsiveness

1 day

Pull Requests (30d)
3
Issues (30d)
13
Star History
307 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

LangBot by langbot-app

0.9%
13k
IM bot platform for the LLM era
created 2 years ago
updated 6 days ago
Feedback? Help us improve.