Prepare AI-ready vector datasets for LLM students with Gemini and Pinecone
Workflow Description
An integrated automation workflow that processes documents by splitting text, converting chunks into vector embeddings using Gemini, and storing them in Pinecone for intelligent retrieval. Results are automatically shared on X to keep students updated.
How it works
- 1.Trigger the workflow manually and load documents for processing
- 2.Split documents into logical chunks using recursive character-level text splitter
- 3.Generate vector embeddings for each chunk using Gemini embedding model
- 4.Store vectors and metadata in Pinecone for fast semantic search and retrieval
- 5.Extract and structure key information using the output parser
- 6.Publish dataset statistics and insights to X for team visibility
Use cases
- Create standardized datasets for large language model training courses
- Build searchable knowledge bases for researchers and students
- Automate conversion of academic papers and articles into usable training assets
- Generate multiple dataset versions for different experimental configurations
Requirements
- Active API credentials for Google Gemini and Pinecone
- Source documents in standard formats (PDF, DOCX, or TXT)
- X account credentials with posting permissions for result sharing
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (21)
When clicking ‘Test workflow’
Manual Trigger
AI Agent
Agent
Pinecone Vector Store
Vector Store Pinecone
Embeddings Google Gemini
Gemini Model
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Google Gemini Chat Model1
Gemini Model
Google Gemini Chat Model2
Gemini Model
Google Gemini Chat Model
Gemini Model
Structured Output Parser
Output Parser Structured
Sticky Note
Sticky Note
Set Fields - URL and Webhook URL
Set
Make a web request
HTTP Request
Structured JSON Data Formatter
LLM Chain
Webhook for structured data
HTTP Request
Webhook for structured AI agent response
HTTP Request
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Information Extractor with Data Formatter
Information Extractor
Sticky Note4
Sticky Note