An example app of an LLM chat in Highlight runtime.
This is the frontend interface for Highlight Chat, a UI to talk with LLMs.
To get started developing Highlight Chat, first run:
npm install
Add a .env.development
file using .env.sample
as a reference. Note for non Highlight employees, we are working on a solution to use a Supabase anon key for most actions instead of the superuser key. At the moment, it will be difficult to test/work on things until we make this change.
npm run dev
Then, open Highlight, enable Developer Mode in Settings, and click the Local Development app.
If the database schema in the Highlight Chat Supabase project changes, you can generate the new types by running:
npm run gen:supabase-types
If the backend schema changes, you can get the new schema by running:
NOTE: This requires you to run the backend locally. If you don't have access to the backend, use the second command.
npm run backend:get
or
npm run backend:prod
This project is deployed using Vercel on pushes to the main branch.
Contributions are welcome! Please open an issue or submit a pull request. All PRs will be validated by Highlight team members. Please join our Discord if you have any questions or need help getting started.
MIT, see LICENSE.md