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.