Skip to content

mdctleo/chatbot-server

Repository files navigation

chatbot-server

Getting Started

You will need lerna >= 7.3.0, node >= 18.17.1 and npm >= 9.6.7

At the root of the project run npm install

To start run npm start

You will need a .env file inside packages/frontend/ with the following variables set to the backend host and port, which by default should be http://localhost:8000

REACT_APP_API_URL=
REACT_APP_WEBSOCKET=
REACT_APP_WEBRTCSOCKET=
REACT_APP_SPEECH_SERVICE_KEY=

You will also need a .env file inside packages/backend/ with the following variables set:

export OPENAI_API_KEY=

Algorithm Improvement Ideas

WebSocket v.s. WebRTC

Architecture

  • iOS and Android will provide basic scaffolding and the UX will be a web view
  • chatbot-server is a mono-repo that will contain front end and back end
  • iOS and Android on launch will request for the UX from chatbot-sever
  • iOS and Android will communicate to the LLM (Large Language Model) through chatbot server back end

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •