community-automations/drive-pinecone-rag

Contenu & Docs

PublicSous-agent Claude

Drive → Pinecone RAG

Un chunking naïf coupe une phrase en deux et la recherche renvoie du n'importe quoi. Ce pipeline découpe les documents Drive par le sens, pour que chaque morceau reste compréhensible tout seul.

sonnet1 semaineGoogle Drive APIPineconeOpenAI embeddingsn8n
ClaudeClaude
ROI for
README.md

Pourquoi ce sous-agent

Un chunking naïf coupe une phrase en deux et la recherche renvoie du n'importe quoi. Ce pipeline découpe les documents Drive par le sens, pour que chaque morceau reste compréhensible tout seul.

Il place le contexte de la section en tête de chaque bloc avant l'embedding dans Pinecone, puis réindexe selon une planification. À la clé : une recherche qui répond vraiment, et non des fragments recousus en plein milieu d'un paragraphe.

Comment il s'exécute

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Exemple de sortie

json
// Sample output
// (generated when the pipeline finishes)

Chunk the document by semantic section, prepend a one-line section summary to each chunk, then return embed-ready records.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.