跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

LangChain RAG

Skill 已验证
85

INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).

AI 摘要

This skill facilitates the construction of RAG pipelines by offering implementations for document loading, text splitting, embedding generation, and various vector stores including Chroma, FAISS, and Pinecone. It showcases end-to-end examples in both Python and TypeScript, detailing the setup, retrieval, and generation stages.

Documentation

  • info:Configuration & parameter referenceWhile examples show configurations for chunk size, overlap, and vector stores, explicit defaults and precedence order for all parameters are not fully documented.

License

  • info:License usabilityLicense is not explicitly declared in the manifest files or a dedicated LICENSE file, and is only mentioned in the README footer as 'MIT'.

Versioning

  • warning:Release ManagementNo explicit version information (e.g., `version:` in SKILL.md frontmatter, `package.json`, or CHANGELOG) is present for this skill; installation via 'npx skills' or plugin marketplace does not allow for version pinning.

Code Execution

  • info:ValidationWhile parameters like chunk size and overlap are shown, explicit schema validation for all inputs and outputs is not demonstrated in the provided examples.
  • info:Error HandlingError handling is not explicitly demonstrated in the provided examples, though LangChain's general error handling mechanisms are assumed.

Practical Utility

  • info:Edge casesFailure modes like dimension mismatch are hinted at in the 'fix' sections, but not explicitly documented with symptoms and recovery paths within the main skill instructions.

安装

请先添加 Marketplace

/plugin marketplace add langchain-ai/langchain-skills
/plugin install langchain-skills@langchain-skills
10 days ago
651 stars
MIT
更新于 4 days ago
查看源代码