Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / RAG и базы знаний

RAG и базы знаний

Создание размеченного датасета мнений из Reddit с Apify, OpenAI и Supabase

Запускается еженедельно: собирает посты из заданных сабреддитов через Apify, классифицирует комментарии с помощью OpenAI и сохраняет посты и комментарии в Supabase с векторными эмбеддингами для поиска.

Что делает

## 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

Шаги

  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

Всего шагов: 16.

Похожие автоматизации