Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

CodeTV Video Search Demo

This is a starting point for building a generative UI that searches the transcripts of CodeTV's video library. It uses OpenAI to create transcripts and embeddings for each video; ChromaDB to store the embeddings and perform vector search against them; and finally Hashbrown to create a generative user interface for the results.

Setup

  1. nvm install && npm install
  2. Copy example.env to .env and add your OpenAI API Key
  3. Run ChromaDB using npm run chroma
  4. Download content.zip and unpack it in the root directory. This should create a folder called content, with a subfolder called transcripts. I don't recommend opening up the transcripts folder because of how large it is.
  5. In a separate terminal, run npm run push-transcripts-to-chroma. This should only take a few minutes. It is pushing all 140,000 or so transcript chunks to Chroma.

Now, with Chroma running, you should be able to launch the frontend and backend dev servers in separate terminals:

Frontend

npm run frontend

Backend

npm run backend

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages