AGENT SKILL

jamwithai--production-agentic-rag

Production-grade RAG system patterns — keyword search foundations + vector hybrid retrieval, FastAPI, OpenSearch, Airflow pipelines. Dùng khi build RAG cho production.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 13
Forks
2

01 前言 Front Matter

name
jamwithai--production-agentic-rag
description
Production-grade RAG system patterns — keyword search foundations + vector hybrid retrieval, FastAPI, OpenSearch, Airflow pipelines. Dùng khi build RAG cho production.
allowed-tools
Bash, Read, Write
user-invocable
true

03 SKILL.md 正文

Production RAG system architecture từ "The Mother of AI Project" course.

Core principle

Build RAG the professional way: solid keyword search foundations first, then enhance with vectors — not AI-first approaches that skip search fundamentals.

Stack

FastAPI          — API layer
PostgreSQL       — metadata store
OpenSearch       — BM25 keyword + vector hybrid search
Airflow          — data pipeline orchestration
Docker Compose   — full local stack

Architecture phases

  1. Infrastructure — Docker, FastAPI, PostgreSQL, OpenSearch, Airflow
  2. Data pipeline — automated fetch + parse (arXiv papers or any domain)
  3. BM25 keyword search — production search with filtering + relevance scoring
  4. Vector search — semantic embeddings layer on top of keyword
  5. Hybrid retrieval — combine BM25 + vector for best results
  6. Agentic RAG — agent loop with tool use on top of retrieval

Key patterns

# Hybrid search: keyword + semantic
results = hybrid_search(
    query=user_query,
    bm25_weight=0.4,
    vector_weight=0.6,
    top_k=10
)

Source

https://github.com/jamwithai/production-agentic-rag-course

04 同仓库更多 Skills

Horonomos-laps
Horonomos-laps/Yana-AI

openai--sentry--sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ito-basket-compare

Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-network-traffic-baselining

Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

detecting-evasion-techniques-in-endpoint-logs

Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-microsegmentation-with-guardicore

Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ramdisk-tmpfs-patterns

暂无简介

★ 13