Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Deprecated. An example app for an LLM chat in Highlight runtime.

License

Notifications You must be signed in to change notification settings

highlight-ing/highlight-chat-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

An example app of an LLM chat in Highlight runtime.


Highlight Chat Frontend

This is the frontend interface for Highlight Chat, a UI to talk with LLMs.

Development

To get started developing Highlight Chat, first run:

npm install

Setup Environment Variables

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.

Running the Development Server

npm run dev

Then, open Highlight, enable Developer Mode in Settings, and click the Local Development app.

Building Supabase Types

If the database schema in the Highlight Chat Supabase project changes, you can generate the new types by running:

npm run gen:supabase-types

Getting the Backend Schema

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

Deployment

This project is deployed using Vercel on pushes to the main branch.

Contributing

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.

License

MIT, see LICENSE.md

About

Deprecated. An example app for an LLM chat in Highlight runtime.

Resources

License

Stars

Watchers

Forks

Languages