---
title: "Deploy Librechat with RAG"
description: "Librechat.ai with RAG enabled"
category: "AI/ML"
url: https://railway.com/deploy/cnhjS_
---

# Deploy Librechat with RAG

Librechat.ai with RAG enabled

**[Deploy Librechat with RAG on Railway](https://railway.com/template/cnhjS_)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/cnhjS_/manifest.json

- **Creator:** Molcsan's Projects
- **Category:** AI/ML
- **Total deploys:** 101

## Template content

### LibreChat

- **Image:** ghcr.io/danny-avila/librechat-dev:latest
- **Public domain:** Yes

### MongoDB

- **Image:** mongo
- **Start command:** `docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0`

### VectorDB https://i.ibb.co/WWLS38r/images.png

- **Image:** ankane/pgvector:latest

### Ragapi

- **Source:** https://github.com/molcsan/rag_api

### 🔎 meilisearch

- **Image:** getmeili/meilisearch:v1.7.3
- **Public domain:** Yes

## Documentation

LibreChat is a versatile, open-source AI communications platform that integrates multiple AI models and offers extensive customization options. With the integration of Retrieval-Augmented Generation (RAG) functionality, LibreChat enhances its capabilities by combining large language models (LLMs) with external knowledge bases to provide more accurate and contextually relevant responses. This integration allows the platform to retrieve real-time data and incorporate it into the generation process, ensuring that the chatbot's responses are up-to-date and domain-specific.

###Key Features of LibreChat with RAG:

####Multiple Language Models
Users can choose from various advanced AI models, including OpenAI, Bing, and Azure, ensuring access to the latest technologies.
Customizable Internal Settings: Fine-tune model responses by adjusting parameters such as temperature and tone, and set prompt prefixes for specific roles.

####Search and Filter Functionality
Efficiently reference previous AI conversations with built-in search and filter options.

####Plugin System
Extend chatbot capabilities by interacting with external data sources and environment through a robust plugin system.

####Conversation Branching
Explore different conversational paths by editing and resubmitting messages, enhancing contextual understanding.
Function Agents: Utilize predefined functions to complete specific tasks, adding a new dimension to chatbot capabilities.

####User Authentication
Secure and scalable user authentication system supporting email and social logins.

####Extensive Documentation
Comprehensive guides and documentation facilitate community involvement and plugin contributions.

###Benefits of RAG Integration

####Enhanced Accuracy
By grounding responses in external, up-to-date information, RAG reduces the likelihood of generating inaccurate or outdated answers.

####Cost-Effective
Avoid the high costs of retraining models by using RAG to provide relevant data as part of the prompt.

####Improved User Trust
Responses can include citations or references to sources, increasing transparency and reliability.

####Versatility
Applicable to various natural language processing tasks, including dialogue systems, content generation, and information retrieval.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/cnhjS_
