Skip to content

The open sourced AI chatbot app built with DBRX instruct API.

License

Notifications You must be signed in to change notification settings

blrchen/dbrx-chatbot

Repository files navigation

DBRX Chatbot

DBRX Chatbot is an open-source AI chatbot application developed using the DBRX instruction API.

Demo

Visit the DBRX Chatbot Demo Site

demo

Prerequisites

You need an active Databricks workspace and and access token.

Deployment

Refer to the Environment Variables section for necessary environment variables.

Deploy on Vercel

Click the button below to deploy on Vercel:

Deploy with Vercel

Deploy with Docker

docker run -d -p 3000:3000 \
   -e DATABRICKS_WORKSPACE_URL="<REPLACE-ME>" \
   -e DATABRICKS_TOKEN="<REPLACE-ME>" \
   blrchen/dbrx-chatbot

Development

Running Locally

  1. Install NodeJS 20.
  2. Clone the repository.
  3. Install dependencies with npm install.
  4. Copy .env.example to .env.local and update environment variables.
  5. Start the application using npm run dev.
  6. Visit http:https://localhost:3000 in your browser.

Environment Variables

Required environment variables:

Name Description
DATABRICKS_WORKSPACE_URL Your Databricks workspace URL. For example, https://adb-3046417392244956.16.azuredatabricks.net.
DATABRICKS_TOKEN Your Databricks access token.

Contribution

PRs of all sizes are welcome.

About

The open sourced AI chatbot app built with DBRX instruct API.

Topics

Resources

License

Stars

Watchers

Forks