Bibliothek / RAG & Wissensdatenbanken
RAG & Wissensdatenbanken
Gelabelten Reddit-Meinungsdatensatz mit Apify, OpenAI und Supabase erstellen
Läuft wöchentlich, scrapt konfigurierte Subreddits über Apify, klassifiziert Kommentare mit OpenAI und speichert Beiträge und Kommentare mit Vektor-Embeddings für die Suche in Supabase.
Was sie bewirkt
## Build a labeled Reddit dataset for AI training with Apify, OpenAI, and Supabase ### How it works This workflow runs on a weekly schedule to scrape configured Reddit subreddits through Apify, then splits the scraped data into post and comment processing branches. Post records are inserted into Supabase and embedded into a Supabase vector store, while comments are classified with OpenAI, saved to Supabase, and embedded separately for semantic search or analysis. ### Setup steps - Configure the weekly schedule in the Run weekly trigger. - Set the target subreddits, sort order, time filter, and minimum score in Define Dataset Inputs. - Add valid Apify credentials and configure the Reddit scraping actor used by Scrape subreddits with Apify. - Configure Supabase credentials, target tables, and vector store settings for the post and comment insert/embed nodes. - Configure OpenAI credentials for comment classification and both embedding model nodes. ### Customization Adjust the subreddit list, score threshold, sort, and time filter to change what content is collected. The OpenAI classification prompt and Supabase table schemas can also be tailored to different reaction categories or downstream analytics needs. ### Who's it for Data engineers and ML builders assembling a labeled Reddit dataset for fine-tuning classifiers or feeding a RAG system with community opinions
Die Schritte
- Set Reddit Dataset Inputs
- Scrape Subreddits via Apify
- Generate Post Rows
- Insert Post into Supabase
- Embed Post to Supabase
- OpenAI Post Embeddings Model
- Load Post Document
- Generate Comment Rows
- OpenAI Reaction Classifier
- Prepare Comment for Insertion
- Insert Comment into Supabase
- Embed Comment to Supabase
- OpenAI Comment Embeddings Model
- Load Comment Document
Insgesamt 16 Schritte.
Ähnliche Automatisierungen
Lead-Generierung & AnreicherungSales-Leads in Reddit-Beiträgen mit OpenAI finden16 SchritteSocial-Media-VeröffentlichungAutomatisierte Reddit-Diskussionen mit OpenAI und Airtable posten7 SchritteTexterstellung & Content-GenerierungLinkedIn-Beitragsideen aus Reddit-Posts mit OpenAI finden17 SchritteLead-Generierung & AnreicherungReddit-Beiträge auf Leads analysieren und Antworten entwerfen18 Schritte