Skip to content

Simplified chat web UI using Ollama API. With Vision (LLaVa models) and formatted text to copy/paste snippets. Also with TTS if you have Coqui TTS installed.

Notifications You must be signed in to change notification settings

LaraGuardiola/nodejs-dalai-alpaca-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpaca web UI

UI for talking to Alpaca AI

How it looks

Previous requirements

  • Node.js >= 18.15
  • Desktop development with C++
  • Python development kit
  • Have at least one model such as alpaca or llama installed.
  • pnpm package manager

Installation (Windows)

The first three requirements can be obtained by downloading Microsoft Visual studio through the following link: Microsoft Visual studio

In case you don't have pnpm in your system it can be installed with the following command:

  npm install -g pnpm

Inside the the directory type the following command:

  pnpm install

And then:

  pnpm start

Finally just open your browser on http:localhost:3000.

Considerations

At the moment Dalai is looking for the models in the default root which is usually C:\Users\username\dalai\alpaca\models

If you already have the models installed in another directory, you can easily change the path that Dalai reads by going to the alpaca.js file, just when Dalai is instantiated in line 3.

  const dalai = const dalai = new Dalai(PATH)

Enjoy! :)

Logo

About

Simplified chat web UI using Ollama API. With Vision (LLaVa models) and formatted text to copy/paste snippets. Also with TTS if you have Coqui TTS installed.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages