Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

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

  1. Set Reddit Dataset Inputs
  2. Scrape Subreddits via Apify
  3. Generate Post Rows
  4. Insert Post into Supabase
  5. Embed Post to Supabase
  6. OpenAI Post Embeddings Model
  7. Load Post Document
  8. Generate Comment Rows
  9. OpenAI Reaction Classifier
  10. Prepare Comment for Insertion
  11. Insert Comment into Supabase
  12. Embed Comment to Supabase
  13. OpenAI Comment Embeddings Model
  14. Load Comment Document

Insgesamt 16 Schritte.

Ähnliche Automatisierungen