community-automations/supabase-vector

研究與情報

PublicClaude 子代理

Supabase 向量管線

向量管線很容易失控:重新匯入檔案會產生重複的切片,沒人分得清哪個版本才是最新的。這套流程把新增、覆寫、檢索統整在同一處。

sonnet3 天SupabasepgvectorOpenAI EmbeddingsEdge Functions
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

向量管線很容易失控:重新匯入檔案會產生重複的切片,沒人分得清哪個版本才是最新的。這套流程把新增、覆寫、檢索統整在同一處。

所有資料存放在 Supabase 的 pgvector 上,upsert 以穩定的文件 ID 為鍵,重新匯入時直接取代舊切片,而非層層堆疊。每次操作都記錄來源 ID,隨時都能追溯哪些內容被嵌入、發生在什麼時間點。

運作方式

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

Run insert, upsert, and retrieval over a Supabase pgvector store with stable IDs and a logged audit trail.

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.