OvidijusParsiunas/deep-chat

★ 3,716⑂ 455

Fully customizable AI chatbot component for your website

About OvidijusParsiunas/deep-chat

OvidijusParsiunas/deep-chat is an open-source project on GitHub, mainly written in TypeScript. Fully customizable AI chatbot component for your website It currently holds 3,716 stars and 455 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Local & On-Device AI board.

GitHub Repository Details

Repository OvidijusParsiunas/deep-chat · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README


Deep Chat

Deep Chat is a fully customizable AI chat component that can be injected into your website with just _one line of code_. Whether you want to create a chatbot that leverages popular APIs such as ChatGPT or connect to your own custom service, this component can do it all! Explore deepchat.dev to view all of the available features, how to use them, examples and more!

:rocket: Main Features

:tada: Latest Updates

2.5.1 update:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/version 2.4.0

2.4.0 update:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/version 2.4.0

2.3.0 update:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/version 2.3.0

2.2.2 update:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/version 2.2.2

2.2.0 update:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/version 2.2.0

:computer: Getting started

npm install deep-chat

If using React, install the following instead:

npm install deep-chat-react

Simply add the following to your markup:


The exact syntax for the above will vary depending on the framework of your choice (see here).

:computer: Install with AI

Use the llms.txt file as a reference for installing and configuring Deep Chat with your code assistant:

"Use https://github.com/OvidijusParsiunas/deep-chat/blob/main/llms.txt to add a chat component to my website."

:zap: Connect

Connect

Connecting to a service is simple, all you need to do is define its API details using the request property:


The service will need to be able to handle request and response formats used in Deep Chat. Please read the Connect section in documentation and check out the server template examples.

Alternatively, if you want to connect without changing the target service, use the interceptor properties to augment the transferred objects or the handler function to control the request code.

:electric_plug: Direct connection

Direct connection

Connect to popular AI APIs directly from the browser via the use of the directConnection property:


Please note that this approach should be used for local/prototyping/demo purposes ONLY as it exposes the API Key to the browser. When ready to go live, please switch to using the connect property described above along with a proxy service.

:robot: Web model

Web Model

No servers, no connections, host an LLM model entirely on your browser.

Simply add the deep-chat-web-llm module and define the webModel property:


:camera: :microphone: Camera and Microphone

Capture

Use Deep Chat to capture photos with your webcam and record audio with the microphone. You can enable this using the camera and microphone properties:


:microphone: :sound: Speech

https://github.com/OvidijusParsiunas/deep-chat/assets/18709577/e103a42e-b3a7-4449-b9db-73fed6d7876e

Input text with your voice using Speech To Text capabilities and have the responses read out to you with Text To Speech. You can enable this functionality via the speechToText and textToSpeech properties.


:beginner: Examples

Check out live codepen examples for your UI framework/library of choice:

| React | Vue 2 | Vue 3 | Svelte | SvelteKit | Angular | Solid | Next | Nuxt | VanillaJS | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | |

| | | | | |

Setting up your own server has never been easier with the following server templates. From creating your own service to establishing proxies for other APIs such as OpenAI, everything has been documented with clear examples to get you up and running in seconds:

| Express | Nest | Flask | Spring | Go | SvelteKit | Next | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | | |

| |

All examples are ready to be deployed on a hosting platform such as Vercel.

:tv: Tutorials

Demo videos are available on YouTube:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/Videos

:joystick: Playground

Create, configure and use Deep Chat components without writing any code in the official Playground!

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/Playground

:tada: Update - components can now be stretched to full screen dimensions using the new Expanded View:

https://github.com/OvidijusParsiunas/deep-chat/blob/HEAD/Expanded View

:heart: Contributions

Open source is built by the community for the community. All contributions to this project are welcome!
Additionally, if you have any suggestions for enhancements, ideas on how to take the project further or have discovered a bug, do not hesitate to create a new issue ticket and we will look into it as soon as possible!

GitHub Stars & Activity

3,716Stars
455Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars3,716
Forks455
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

ChatGPTNextWeb / NextChat

TypeScript★ 88,790⑂ 59,030
2

chatboxai / chatbox

TypeScript★ 41,812⑂ 4,252
3

dyad-sh / dyad

TypeScript★ 21,587⑂ 2,639
4

lidge-jun / opencodex

TypeScript★ 15,561⑂ 1,180
5

browseros-ai / BrowserOS

TypeScript★ 13,720⑂ 1,460
6

getumbrel / llama-gpt

TypeScript★ 10,937⑂ 704
7

miurla / morphic

TypeScript★ 9,133⑂ 2,348
8

n4ze3m / page-assist

TypeScript★ 8,220⑂ 784

More AI Rankings