rag

Configure LibreChat's RAG pipeline for document ingestion and retrieval.

2|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/bethanychamberlain/claude-skills-librechat --skill rag-bethanychamberlain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag
Source: https://github.com/bethanychamberlain/claude-skills-librechat/tree/main/librechat-data/skills/rag
Command: npx skills add https://github.com/bethanychamberlain/claude-skills-librechat --skill rag-bethanychamberlain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure LibreChat's RAG pipeline for document ingestion, embeddings, vector storage, and retrieval.

Core Features & Use Cases

  • Set up RAG from scratch: add RAG API and PGVector services to Docker Compose, configure environment variables, and test file uploads.
  • Switch embeddings provider and update vectors; beware that re-indexing is required when changing providers.
  • Debug RAG issues: verify API status, inspect logs, and consult references for architecture and troubleshooting.

Quick Start

Add the RAG services to Docker Compose, configure environment variables for your embeddings provider, and test file upload in a conversation.

Frequently Asked Questions about rag

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure LibreChat RAG for document search and retrieval?

To configure LibreChat RAG for document search, add the RAG API and PGVector services to your Docker Compose file, set the necessary environment variables for your embeddings provider, and test file uploads in a conversation to ensure document retrieval works.

What do I need to set up RAG from scratch in LibreChat?

Setting up LibreChat RAG from scratch requires adding RAG API and PGVector services to Docker Compose, configuring environment variables for your embeddings provider, and testing file uploads within conversations to verify document ingestion and vector storage.

Can I switch embeddings providers for LibreChat document search?

Yes, you can switch embeddings providers for LibreChat document search by updating your environment variables, but you must re-index your existing documents because changing providers requires regenerating all vectors.

Why is my LibreChat RAG pipeline not working during file uploads?

If your LibreChat RAG pipeline is not working, debug by verifying the RAG API status, inspecting Docker Compose logs, and consulting architecture references to troubleshoot document ingestion, embeddings, and vector storage issues.

Does LibreChat RAG support PGVector for vector storage?

Yes, LibreChat RAG supports PGVector for vector storage by adding the PGVector service to your Docker Compose configuration, enabling document embeddings and retrieval during chat-with-documents scenarios.