community-automations/drive-pinecone-rag

內容與文件

PublicClaude 子代理

Drive → Pinecone RAG

粗暴的切分會把一句話攔腰斬斷,檢索回來的結果自然不知所云。這條流程依據語意切分 Drive 文件,確保每個片段都能獨立理解。

sonnet1 週Google Drive APIPineconeOpenAI embeddingsn8n
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

粗暴的切分會把一句話攔腰斬斷,檢索回來的結果自然不知所云。這條流程依據語意切分 Drive 文件,確保每個片段都能獨立理解。

在嵌入 Pinecone 之前,它會為每個片段加上所屬章節的脈絡,再依排程重新建立索引。效果就是檢索真的能回答問題,而不是從段落中間硬拼出來的碎片。

運作方式

    • 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.

輸出範例

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.