Coder Social home page Coder Social logo

ai-chat's Introduction

ai-chat

Setup

Windows: Install Git For Windows (install the bash terminal)

  1. npm install
  2. In backend/, rename .env.sample to .env and fill in the values
  3. npm run build
  4. npm start

TTS

The app is setup to support ElevenLabs voices with an API key. SayTTS is used if supported on your platform (if so, saytts voices will show up in the returned available voices). I believe Mac and Windows is supported.

Alternatively, support for Coqui TTS is being added. Install with pip install TTS, get a list of models with tts-server --list_models, and start the server with e.g. tts-server --model_name tts_models/en/sam/tacotron-DDC.

When this app starts, it will request localhost:5002/voices and if there's a voice returned, the voice will show as an available voice in the app.

ai-chat's People

Contributors

parsehex avatar

Watchers

 avatar

ai-chat's Issues

Data dirs not made on first run

Specifically, data/threads doesn't seem to be created (dataRoot folder + others are created), so when you try to create a thread you get in the server log:
ENOENT: no such file or directory, scandir '/home/user/ai-chat/data/threads'

Workaround is to create data/threads manually, then everything works fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.