/dust

Design and Deploy Large Language Model Apps

Primary LanguageJavaScriptMIT LicenseMIT

Twitter

Design and Deploy Large Language Model Apps

📖 Documentation Portal

Questions / Help

Join our Discord.

💻 Run Dust locally

Command-line Client Quick Start

  • Install Rust
  • Clone this repository ($DUST_PATH represents the path to the dust repository).
  • cd $DUST_PATH/core
  • cargo build --release --bin dust
  • alias dust="$DUST_PATH/core/target/release/dust"
  • dust init new_test_project
  • cd new_test_project
  • dust help

See the video demo for an explanation of the commands.

Run Dust Web App Locally Quick Start

Start core API on SQLite

  1. cd $DUST_PATH/core
  2. cargo run --bin dust-api

Start front on SQLite

  1. cd $DUST_PATH/front
  2. Create .env.local by running the command below:
cat <<EOF >> .env.local
URL=http://localhost:3000

NEXTAUTH_URL=$URL
NEXTAUTH_SECRET=25da29db5485fcd27d2f671c5e28d5df8f325e9470c36cb6bf0a9d19c662255a

FRONT_DATABASE_URI=sqlite:front_store.sqlite

GITHUB_ID=47ec837fcbac1c6f1690
GITHUB_SECRET=d59af0da231fc697d7dd8d3002ed1d9765e11c7f

DUST_API=http://localhost:3001

THUM_IO_KEY=0-Foo
GA_TRACKING_ID=Foo
EOF
  1. Run npm install
  2. Run FRONT_DATABASE_URI=sqlite:front_store.sqlite ./init/init.sh
  3. Start server with npm run dev