Add AI category suggestions for custom bookmark organization#46
Open
Microck wants to merge 1 commit intoviperrcrypto:mainfrom
Open
Add AI category suggestions for custom bookmark organization#46Microck wants to merge 1 commit intoviperrcrypto:mainfrom
Microck wants to merge 1 commit intoviperrcrypto:mainfrom
Conversation
- Create category-suggester.ts library for AI-powered category suggestions - Add /api/categories/suggest endpoint for generating and creating categories - Add AI Assistant modal to categories page with approval/rejection workflow - Analyze bookmarks and suggest 3-8 natural topic clusters - Display confidence scores and example bookmarks for each suggestion - Allow batch creation of selected categories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an AI assistant on the categories page that suggests custom categories based on the user's existing bookmarks.
What changed
lib/category-suggester.tsto sample bookmarks and ask the configured AI provider for category proposalsGET /api/categories/suggestto generate suggestionsPOST /api/categories/suggestto create approved suggestions as categoriesAI Assistantflow inapp/categories/page.tsxfor reviewing and selectively creating suggestionsHow it works
Why
Creating categories manually is high-friction when a library is large. This gives users a faster starting point while keeping the final decision in their hands.
Verification actually done
npx tsc --noEmit