Library / RAG & Knowledge Bases
RAG & Knowledge Bases
Cluster Hacker News Comments with OpenAI and Qdrant
When you run it, it collects Hacker News comments, embeds them in Qdrant, groups similar ones, and has OpenAI summarize each cluster into Google Sheets.
What it does
## Step 6. Apply Clustering Algorithm to Comments Read more about using Python in n8n We'll retrieve our vectors embeddings for the desired HN story comments and perform an advanced clustering algorithm on them. This powerful echnique allows us to quickly group similar embeddings into clusters which we can then use to discover popular feedback, opinions and pain-points! We're able to do this thanks to te Python Code Node.
The steps
- When clicking ‘Test workflow’
- Hacker News
- Split Out
- Get Comments
- Qdrant Vector Store
- Embeddings OpenAI
- Default Data Loader
- Recursive Character Text Splitter
- Set Variables
- Clear Existing Comments
- Get Payload of Points
- Clusters To List
- OpenAI Chat Model
- Only Clusters With 3+ points
23 steps in total.
Similar automations
Reports, Analytics & DashboardsCluster Hacker News Comments with Qdrant and OpenAI54 stepsImage, Video & AudioTurn Hacker News Stories into Videos with OpenAI39 stepsImage, Video & AudioTurn Hacker News Stories into Videos and Social Posts39 stepsImage, Video & AudioTurn Hacker News Stories into Videos for Social179 steps