agentsclimarketplace

Langchain retriever

Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/langchain-retriever

LangChain retriever implementation with various retrieval strategies for RAG applicationsFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill langchain-retriever

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.6 KB, 234 tokens by cl100k_base, as published. Nobody here has run it

LangChain Retriever Skill

Capabilities

  • Implement various LangChain retriever types
  • Configure vector store retrievers
  • Set up multi-query retrievers for improved recall
  • Implement contextual compression retrievers
  • Design ensemble retrievers combining multiple strategies
  • Configure self-query retrievers for structured filtering

Target Processes

  • rag-pipeline-implementation
  • advanced-rag-patterns

Implementation Details

Retriever Types

  1. VectorStoreRetriever: Basic similarity search
  2. MultiQueryRetriever: Generates query variations
  3. ContextualCompressionRetriever: Filters and compresses results
  4. EnsembleRetriever: Combines multiple retrievers
  5. SelfQueryRetriever: Structured metadata filtering
  6. ParentDocumentRetriever: Returns parent chunks

Configuration Options

  • Search type (similarity, mmr, similarity_score_threshold)
  • Number of documents to retrieve (k)
  • Score thresholds
  • Metadata filtering
  • Compression settings

Dependencies

  • langchain
  • langchain-community
  • Vector store client

What ships with it: 1 file

662 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.