AI Agents

Prepare AI-ready vector datasets for LLM students with Gemini and Pinecone

21 nodes 302 142 Automatic trigger
Download

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. 1.Trigger the workflow manually and load documents for processing
  2. 2.Split documents into logical chunks using recursive character-level text splitter
  3. 3.Generate vector embeddings for each chunk using Gemini embedding model
  4. 4.Store vectors and metadata in Pinecone for fast semantic search and retrieval
  5. 5.Extract and structure key information using the output parser
  6. 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

AI Agent Vector Store Gemini Document Default Data Loader Text Splitter Output Parser LLM Chain Twitter/X

Details

Trigger Automatic trigger
Nodes 21
Apps 8
Views 302
Downloads 142

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (21)

/

When clicking ‘Test workflow’

Manual Trigger

#1

AI Agent

Agent

#2

Pinecone Vector Store

Vector Store Pinecone

#3

Embeddings Google Gemini

Gemini Model

#4

Default Data Loader

Document Default Data Loader

#5

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#6

Google Gemini Chat Model1

Gemini Model

#7

Google Gemini Chat Model2

Gemini Model

#8

Google Gemini Chat Model

Gemini Model

#9

Structured Output Parser

Output Parser Structured

#10

Sticky Note

Sticky Note

#11

Set Fields - URL and Webhook URL

Set

#12

Make a web request

HTTP Request

#13

Structured JSON Data Formatter

LLM Chain

#14

Webhook for structured data

HTTP Request

#15

Webhook for structured AI agent response

HTTP Request

#16

Sticky Note1

Sticky Note

#17

Sticky Note2

Sticky Note

#18

Sticky Note3

Sticky Note

#19

Information Extractor with Data Formatter

Information Extractor

#20

Sticky Note4

Sticky Note

#21