Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 3.42 KB

README.md

File metadata and controls

65 lines (49 loc) · 3.42 KB

Open Recommender Logo
Open Recommender - An open source AI-powered recommendation system for videos and articles

⚠️ Work in Progress... ⚠️

🚀 Overview

Welcome to Open Recommender, an open source AI-powered recommendation system for videos and articles.

🏆 Goals

How to Run

Installation

  • git clone this repo
  • cd open-recommender
  • yarn && yarn build
  • python3 -m venv env
  • source env/bin/activate
  • pip install -r requirements.txt
  • In the client, server and cli packages, cp .env.example .env and fill in the values
  • If you want to use Twitter as an input data source for recommendations, you need to create a fake Twitter account and create an accounts.txt file in the root folder with the account's credentials in the format username:password:email:email_password.

Running

  • yarn server to run the backend
  • yarn client to run the frontend
  • yarn worker to run the background job worker
  • Open up the web client and click the login button in the top right.
  • After logging in using Twitter this will automatically trigger a new recommendations pipeline run task for the worker.
  • You can monitor a recommendations pipeline run using by navigating to http://localhost:5173/#/admin. Make sure you set ADMIN="Your Twitter Username" in the server .env file.
  • After a run is finished you can view your queue of recommendations by navigating to your feed.

Commands

📚 How it Works

A summary of the data pipeline:

  • Download a user's Twitter data (tweets, likes, retweets, etc.)
  • Recursively summarize into a user profile
  • Generate search queries using the user's profile
  • Search for videos and articles based using the queries
  • Download transcripts and articles and chunk them into "clips"
  • Recommend the best clips to the user in clusters (like mini learning playlists)

Papers and Blog Posts