Библиотека / 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
Шаги
- 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
Всего шагов: 16.
Похожие автоматизации
Генерация и обогащение лидовПоиск продажных лидов в постах Reddit с OpenAIШагов: 16Публикации в соцсетяхАвтоматические обсуждения на Reddit с OpenAI и AirtableШагов: 7Написание и генерация контентаИдеи постов LinkedIn на основе публикаций Reddit с OpenAIШагов: 17Генерация и обогащение лидовАнализ постов Reddit на предмет лидов и составление черновиков ответовШагов: 18