rag-and-vector-search
Use for Feast RAG, vector search, vector-indexed fields, vector online stores, document embedding/chunking, retrieve_online_documents APIs, DocEmbedder, FeastVectorStore, and FeastRAGRetriever workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- rag-and-vector-search
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use for Feast RAG, vector search, vector-indexed fields, vector online stores, document embedding/chunking, retrieve_online_documents APIs, DocEmbedder, FeastVectorStore, and FeastRAGRetriever workflows.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/rag-workflows.md8.4 KB
- 参考文档references/troubleshooting.md6.7 KB
- 参考文档references/vector-reference.md7.0 KB
- 脚本scripts/vector_config_lint.py14.5 KB
03 SKILL.md 正文
Feast RAG And Vector Search
Use this sub-skill when the user asks to build, configure, debug, or validate Feast-powered vector retrieval or RAG workflows.
Route Here For
- Vector schema fields using
Field(..., vector_index=True, vector_length=..., vector_search_metric=...). - Vector online store choices and
feature_store.yamlsettings for Milvus, SQLite vector mode, Postgres/pgvector, Elasticsearch, Qdrant, MongoDB, or Faiss. - SDK retrieval with
FeatureStore.retrieve_online_documents_v2(...)or legacyretrieve_online_documents(...). - RAG helper APIs:
DocEmbedder,TextChunker,MultiModalEmbedder,FeastVectorStore,FeastIndex, andFeastRAGRetriever. - Document ingestion: chunk documents, create embeddings, write vectors to the online store, retrieve top-k context, and format context for an LLM.
Route Elsewhere
- Generic Feast object modeling that is not vector-specific:
../feature-definitions/SKILL.md. - Non-vector online/historical retrieval, materialization, or push ingestion:
../retrieval-and-materialization/SKILL.md. - Feature server, MCP, auth, TLS, and remote endpoint setup:
../servers-and-remote/SKILL.md. - Optional dependency selection across non-vector stores or custom store implementation:
../integrations-and-extensibility/SKILL.md.
Start Here
- Read
references/vector-reference.mdto choose schema, store config, and retrieval API. - Read
references/rag-workflows.mdfor document ingestion, DocEmbedder, FeastVectorStore, and FeastRAGRetriever patterns. - Use
references/troubleshooting.mdfor install, optional extra, vector dimension, service, and API failures. - Run
scripts/vector_config_lint.py --helpbefore asking users to connect to a vector database.
Fast Safety Checks
python scripts/vector_config_lint.py path/to/feature_repo.py
python scripts/vector_config_lint.py feature_store.yaml --config-only
python scripts/vector_config_lint.py vector_snippet.json
Expected success output includes OK: lines and a final Summary:. Any ERROR: should be fixed before feast apply, materialization, or remote service debugging.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).