UI for talking to Alpaca AI
- 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
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 pnpmInside the the directory type the following command:
pnpm installAnd then:
pnpm startFinally just open your browser on http:localhost:3000.
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! :)

