Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

rag-frameworksRAG frameworks 搜索

Agent Skill

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

总安装

1,004

周安装

41

GitHub Stars

4

下载量

321
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:rag-frameworks(RAG frameworks 搜索)
来源仓库:https://github.com/eyadsibai/ltk
仓库路径:skills/rag-frameworks
安装命令:
npx skills add https://github.com/eyadsibai/ltk --skill rag-frameworks
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/eyadsibai/ltk --skill rag-frameworks

简介

用于搭建或维护带检索增强的 RAG 工作流,支持知识库问答和向量检索。

  • 适合让 Agent 处理数据接入、Embedding 生成和回答引用展示,需确认数据来源和召回阈值。
  • 通过 GitHub 安装,使用 npx skills add 命令添加指定仓库的技能。
  • 避免将未命中资料包装成确定事实,应结合更新频率和引用方式使用。
  • rag-frameworks 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

RAG Frameworks

Frameworks for building retrieval-augmented generation applications.

Comparison

FrameworkBest ForLearning CurveFlexibility
LangChainAgents, chains, toolsSteeperHighest
LlamaIndexData indexing, simple RAGGentleMedium
Sentence TransformersCustom embeddingsLowHigh

LangChain

Orchestration framework for building complex LLM applications.

Core concepts:

  • Chains: Sequential operations (retrieve → prompt → generate)
  • Agents: LLM decides which tools to use
  • LCEL: Declarative pipeline syntax with | operator
  • Retrievers: Abstract interface to vector stores

Strengths: Rich ecosystem, many integrations, agent capabilities Limitations: Abstractions can be confusing, rapid API changes

Key concept: LCEL (LangChain Expression Language) for composable pipelines.


LlamaIndex

Data framework focused on connecting LLMs to external data.

Core concepts:

  • Documents → Nodes: Automatic chunking and indexing
  • Index types: Vector, keyword, tree, knowledge graph
  • Query engines: Retrieve and synthesize answers
  • Chat engines: Stateful conversation over data

Strengths: Simple API, great for document QA, data connectors Limitations: Less flexible for complex agent workflows

Key concept: "Load data, index it, query it" - simpler mental model than LangChain.


Sentence Transformers

Generate high-quality embeddings for semantic similarity.

Popular models:

ModelDimensionsQualitySpeed
all-MiniLM-L6-v2384GoodFast
all-mpnet-base-v2768BetterMedium
e5-large-v21024BestSlow

Key concept: Bi-encoder architecture - encode query and documents separately, compare with cosine similarity.


RAG Architecture Patterns

PatternDescriptionWhen to Use
Naive RAGRetrieve top-k, stuff in promptSimple QA
Parent-ChildRetrieve chunks, return parent docsContext preservation
Hybrid SearchVector + keyword searchBetter recall
Re-rankingRetrieve many, re-rank with cross-encoderHigher precision
Query ExpansionGenerate variations of queryAmbiguous queries

Decision Guide

ScenarioRecommendation
Simple document QALlamaIndex
Complex agents/toolsLangChain
Custom embedding pipelineSentence Transformers
Production RAGLangChain or custom
Quick prototypeLlamaIndex
Maximum controlBuild custom with Sentence Transformers

Resources

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

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

平台分布

Codex

37.19%
按下载量换算119

Claude

29.12%
按下载量换算93

Cursor

20.56%
按下载量换算66

Gemini CLI

9.26%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills