• Stars
    star
    110
  • Rank 306,512 (Top 7 %)
  • Language
    TypeScript
  • License
    BSD 2-Clause "Sim...
  • Created 9 months ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Leveraging LLM to build Conversational UIs

Chatflow

Chatflow offers a chat interface for users to interact with any system using natural language. Our engine understands the user's intent and executes the required commands for the given task.

Users can easily navigate and utilize complex websites/products with multiple pages and functionalities through a chat interface rather than using a point-and-click approach.

This leads to decreased training expenses, enhanced user experience, and improved productivity.

You can try it out here

Watch this video to learn more.

Join our Discord to know what's going on in development and to ask questions to the maintainers about the project and how to contribute: https://discord.gg/fJ5ecMmsSf

Running the App

Before running the app, please install Docker first

Set up the environment

Automatic Setup(Windows only):

  • cd scripts
  • PowerShell -ExecutionPolicy Bypass -File .\windows-utils.ps1 -action setup -apiKey [OpenAI API Key]

Starting the App

  • PowerShell -ExecutionPolicy Bypass -File .\windows-utils.ps1 -action on

Stopping the App

  • PowerShell -ExecutionPolicy Bypass -File .\windows-utils.ps1 -action off

Manual setup:

React UI

  • cd chat-ui
  • npm install
  • npm run build
  • npm start

Backend

  • Start the databases

    $ docker-compose up -d redis postgres video-chat-server
  • Install the dependencies

    $ pip install -r requirements-dev.txt
  • Navigate to the backend src cod

    $ cd server/src
  • Create a .env file and set all required variables

    cp server/src/.env.template server/src/.env
  • Replace the OpenAI API key with your own key in the .env file

  • Start the backend service locally

    $ python load_data.py
    $ python server.py
  • Log into the app http://localhost:3000/assets#/login with the following credentials

    username: [email protected]
    password: 123
  • Visit http://localhost:8880/api/docs to see the API docs

  • Access the Redis Vector DB UI on http://localhost:8001/redis-stack/browser

Local Development with Docker

  • Build the docker image docker build -t apssouza/chatux:latest .
  • Set OPENAI_API_KEY_GPT4 and OPENAI_API_KEY_GPT3 environment variables
  • Run docker-compose up to start the app
  • Visit http://localhost:8880/api/docs to see the API docs

Backlog

Please look at the issues for the backlog

Leave a star if you like the project

More Repositories

1

java-microservice

A full microservice architecture with Java, Spring Cloud, Log management with ELK, Server load balancing with Nginx, Infrastructure management with Docker-compose, JMX application monitoring, JWT, Aspect OP, Distributed events with Kafka, Event Sourcing, CQRS, REST, Web Sockets, Continuous deploy with Jenkins and more
Java
357
star
2

grpc-production-go

A gRPC production-ready library
Go
189
star
3

big-data-pipeline-lambda-arch

A full big data pipeline (Lambda Architecture) with Spark, Kafka, HDFS and Cassandra.
Java
161
star
4

trading-system

An open-source backtesting and live trading platform for using to foreign exchange
Java
64
star
5

modern-api-management

A modern approach to manage APIs effectively using Protobuf
Shell
52
star
6

service-mesh-istio

A microservice project leveraging Service Mesh with advanced features from Istio
41
star
7

smart-drone

This project leverage Machine learning/Computer vision to make a low-cost Drone smarter and autonomous.
JavaScript
24
star
8

computer-vision

A collection of computer vision projects
Jupyter Notebook
19
star
9

neuroevolution

In this project we combine Artificial Neural Network and Genetics Algorithms to build powerful AI
JavaScript
15
star
10

neuralnet-browser

Artificial Neural Network from scratch using Javascript on the browser
CSS
11
star
11

cnn-for-devs

A project to teach Convolution Neural Network for devs
Jupyter Notebook
10
star
12

grpc-production-java

A Grpc server production ready example
Java
8
star
13

build-deploy

A build deploy docker image to work with Java application and AWS
Shell
5
star
14

istio-and-minikube

Customizable Istio installation for Minikube
4
star
15

image-edit

Image handler
PHP
3
star
16

k8s-microservices

The state of the art in microservices
Shell
3
star
17

admin2014

Meu admin
JavaScript
2
star
18

githooks

Easy to use git hooks
Shell
2
star
19

trading-robot

A strategy to bit the Fx market
Python
2
star
20

helpers

MInhas classes helpers que me ajudam no dia a dia
PHP
2
star
21

apssouza22

About me
2
star
22

video-chat-rtc

This is a video chat app using WebRTC and WebSockets. It is built using Node.js, Express, and Socket.io.
JavaScript
2
star
23

portfolio

Desenvolvimento do meu portfolio profissional
JavaScript
2
star
24

chat-commander-ui

JavaScript
2
star
25

lambda-integration-test

Project example of lambda integration test with AWS CDK + SAM + Docker + Docker-compose + Mock server
TypeScript
1
star
26

protobuf-gen-code

Generated Go code from the Protobuf-api-management repo
1
star
27

noblocking

Testing noblocking IO with PHP, using socket and curl
PHP
1
star
28

tmc

PHP
1
star
29

js-canvas

Projetos diversos usando canvas
JavaScript
1
star
30

shell-script

Meus shell-scripts que me ajudam no dia a dia
Shell
1
star
31

project-setup

An example of a Java project setup
Java
1
star
32

js-inputsearch

Javascript que facilita a busca a partir de uma fonte de dados local ou remota
JavaScript
1
star
33

blog

My blog posts
SCSS
1
star
34

java-effective

Example of a Todo project using JEE features
Java
1
star
35

angular2

Some Angular test projects
JavaScript
1
star
36

js-validate

Uma versão simples de plugin de validação
JavaScript
1
star
37

spl-navidareal

Exemplos de funcionalidades da SPL que utilizo no meu ciclo de desenvolvimento
PHP
1
star
38

gauge-python-api-example

Using Gauge and Python to test REST API
Python
1
star
39

spring-modules

Working with maven modules
Java
1
star
40

eta-chome-extension

A chrome extension to help test Eta UI
JavaScript
1
star
41

js-tab

Classe que facilita o trabalho com abas
PHP
1
star
42

html5_experience

Experiencias em html5 + responsive designer + facebook
JavaScript
1
star
43

js-sexy

Projetos diversos de javascript
JavaScript
1
star
44

my-dao

Minha estrutura de classes de abstração de banco de dados
PHP
1
star
45

first-java-project

Códigos do primeiro projeto Java versão simplificada
Java
1
star