Token导航 LogoToken导航TokenDH.com
开发规范需要联网clawhub未标认证来源可访问clear审计通过

qdrant-ingestion-best-practicesqdrant 摄入最佳实践

Agent Skill

qdrant-ingestion-best-practices 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,410

周安装

145

GitHub Stars

公开资料未说明

下载量

1,195
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qdrant-ingestion-best-practices(qdrant 摄入最佳实践)
来源仓库:https://github.com/encryptshawn/qdrant-ingestion-best-practices
安装命令:
openclaw skills install qdrant-ingestion-best-practices
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install qdrant-ingestion-best-practices

简介

沉淀 Qdrant 数据摄入过程中的经验教训与最佳实践指南。

  • 适用于记录错误修正、性能调优与能力缺口补充场景。
  • 提供生产级分块策略、元数据设计与检索优化建议。qdrant-ingestion-best-practices 属于开发规范类 Skill,可作为该场景下的辅助能力补充。
  • 通常作为知识库辅助决策,不直接执行数据库操作。
  • 内容更新依赖人工审核,请勿将其输出视为绝对正确。

SKILL.md

name
qdrant-ingestion-best-practices
description
Use this skill whenever building, designing, or debugging a RAG pipeline using Qdrant as the vector store. Covers ingestion pipelines, chunking standards, metadata schema design, hybrid dense+sparse retrieval with RRF, access control patterns, embedding model selection (BGE-M3 for hybrid, text-embedding-3-small for dense-only), collection architecture, normalization, deduplication, idempotency, and operational standards. Triggers include: any mention of Qdrant, RAG pipeline, vector ingestion, chunking, embeddings, hybrid search, payload filters, or access-controlled retrieval.

Qdrant Ingestion Best Practices

Overview

This skill package provides comprehensive, production-grade guidance for building RAG (Retrieval-Augmented Generation) pipelines using Qdrant as the vector store. It covers everything from data ingestion and chunking to hybrid retrieval, metadata standards, and access control patterns.

All detailed guidance lives in the guides/ subfolder. Always read the relevant guide(s) before writing code or designing a pipeline. Use the Quick Decision Guide below to determine which guides to load.


Skill Structure

GuidePathWhen to Read
RAG Pipeline Overviewguides/01-rag-pipeline-overview.mdStart here. Architecture, decisions, model selection.
Metadata Schema Standardsguides/02-metadata-schema.mdDesigning chunk payloads and payload index strategy.
Data Classification & Collectionsguides/03-data-classification.mdMulti-collection design, sensitivity tiers, tenancy.
Source Normalizationguides/04-source-normalization.mdPre-processing rules by source type before chunking.
Chunking Standardsguides/05-chunking-standards.mdChunk size, overlap, strategy by content type.
Embedding Modelsguides/06-embedding-models.mdDense vs hybrid model selection and configuration.
Ingestion Pipelineguides/07-ingestion-pipeline.mdFull pipeline steps, idempotency, upsert patterns.
Retrieval Architectureguides/08-retrieval-architecture.mdHybrid search, RRF, reranking, filter application.
Access Control Patternsguides/09-access-control.mdPayload-based filtering, separation of concerns.
Operational Standardsguides/10-operational-standards.mdLifecycle, retention, observability, conformance.
Quick ReferenceQUICK_REFERENCE.mdCheat sheet: model dims, chunk sizes, RRF params.

Quick Decision Guide

What embedding model should I use?

Read guides/06-embedding-models.md for full details. Quick answer:

Need hybrid (semantic + keyword)?
  → BAAI/BGE-M3  (dense 1024-dim + SPLADE sparse, single model pass)

Need dense-only (simpler pipeline)?
  → text-embedding-3-small  (OpenAI, 1536-dim, cost-efficient)
  → text-embedding-3-large  (OpenAI, 3072-dim, highest quality dense)

What chunking strategy should I use?

Read guides/05-chunking-standards.md for full code. Quick answer:

Conversational (Slack, short messages) → 150–300 tokens, 30 overlap, sentence window
Email threads                          → Split at reply boundary first, then 200–400 tokens
Meeting transcripts                    → Split at speaker turns, 200 tokens, 20 overlap
Documents / PDFs                       → Hierarchical paragraph, 300–500 tokens, 50 overlap
Tasks / Tickets                        → One chunk per task, max 512 tokens

How many collections do I need?

Read guides/03-data-classification.md. Justify collections by: security boundary, query pattern, scale/index tuning, or lifecycle difference. Do NOT create a collection per data source. Standard setup = 3 collections: company_memory, restricted_memory, pii_memory.

Building from scratch?

Read guides in this order: 01 → 02 → 03 → 06 → 07 → 08

Improving retrieval quality?

Read: 08 → 05 → 06 → 10

Adding access control?

Read: 09 → 03 → 02 (focus on governance fields)

Onboarding a new data source?

Read: 04 → 05 → 02 → 07

Debugging ingestion or metadata issues?

Read: 07 → 10 → 02


10 Rules — Never Violate These

  1. Classify sensitivity at ingest time. Never defer to retrieval time.
  2. Apply access control filters inside the Qdrant query. Never post-filter retrieved results.
  3. Never embed agent or user permission lists in chunk payloads. Permissions belong in your orchestration layer config only.
  4. Chunking must be deterministic. Same normalized input → same chunks → same hashes → same doc_ids.
  5. All writes to Qdrant must use upsert semantics. Raw inserts are prohibited in pipelines.
  6. Compute all hashes from normalized content. Never from raw source payloads.
  7. Index every field used as a payload filter. Unindexed filter fields cause full collection scans.
  8. Never fabricate metadata. If a value cannot be determined, use empty array or null.
  9. model_inferred fields must not be sole basis for security decisions.
  10. Use the same embedding model at query time as at ingest time. Mixing models produces meaningless scores.

Mandatory Pipeline Stage Order

Every ingestion pipeline must execute these stages in this exact order:

1. Source capture        — fetch raw content + metadata from source API
2. Normalization         — apply universal + source-specific rules  (→ guide 04)
3. Document hash         — SHA-256 of full normalized document text
4. Change detection      — compare hash to stored hash; skip steps 5–8 if unchanged
5. Chunking              — apply strategy for content type              (→ guide 05)
6. Chunk hashing         — SHA-256 per chunk from normalized chunk text
7. Embedding             — dense ± sparse vectors                       (→ guide 06)
8. Upsert to Qdrant      — full metadata payload                        (→ guide 07)
9. Stale chunk cleanup   — delete chunks whose chunk_index is now out of range

Sensitivity Tiers → Collections

TierExamplesCollection
publicMarketing, public docscompany_memory
internalSlack, all-hands, project docscompany_memory
restrictedExecutive email, finance, legalrestricted_memory
confidentialSalary, PII, health recordspii_memory

Default when nothing matches: internal


Retrieval Pipeline Summary

Query → Embed (BGE-M3: dense + sparse in one pass)
     → Dense search top-20  ─┐
     → Sparse search top-20  ─┤  (access filters applied inside each branch)
                              ▼
                         RRF fusion (k=60)
                              ▼
                         Top 10–15 results
                              ▼
                    Optional: cross-encoder rerank → top 5–8
                              ▼
                         Return with attribution

See guides/08-retrieval-architecture.md for full implementation code.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.82%
按下载量换算1,049

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills