Uses OpenAI text embeddings to construct a hierarchy of categories for comments on Slow Boring.
You can explore the structure of categories in the interactive demo at matthagy.github.io/sb_comment_category_hierarchy
Learn more about the methods in Hierarchical categorization of substack comments
You can build the webpage by running the following commands in this directory.
npm install
npx webpack --mode=development --devtool=eval-source-map
The site can then be viewed by opening dist/index.html
in a browser.
Additionally, it can be deployed to a GitHub Pages site by running the following command.
Note you'll have to change the repository.url
field in package.json
to match your repository.
npm run deploy