Migração 100% grátis na contratação semestral · nossa equipe migra tudo de qualquer provedor · novos clientes Migrar agora
Agente de IA no WhatsApp na API Oficial da Meta · somos Tech Provider aprovado · orçamento sob consulta Pedir orçamento
VPS com OpenClaw pré-instalado · a partir de R$ 56,90/mês · gerenciada pela Rollin Quero a VPS
VPS com Hermes Agent pré-instalado · a partir de R$ 56,90/mês · gerenciada pela Rollin Quero a VPS
Hospedagem com 30 dias de garantia · Não gostou? Devolvemos 100%, sem perguntas. Ver hospedagem

RAG with Qdrant + LangChain

How to build a Retrieval-Augmented Generation (RAG) stack with Qdrant as the vector database and LangChain as the orchestrator on a Rollin Host VPS.

When to use RAG

Use Retrieval-Augmented Generation (RAG) when you need the AI to answer questions about specific content (manuals, an internal knowledge base, product documentation) without training a model from scratch. The LLM still generates the answer, but with context retrieved from a vector database.

Architecture

PDF / Markdown / Notion ──▶ embeddings ──▶ Qdrant
                                              │
       User question ──▶ embedding ──▶ search ──▶ context + LLM ──▶ answer

Stack

  • Qdrant: vector database, runs in Docker
  • LangChain (Python or Node): orchestrates chunks, embeddings and the prompt
  • OpenAI ada-002 or self-hosted bge-m3: embeddings model
  • Server: VPS Plus (8 GB RAM, 4 vCPU, 160 GB)

Next steps

We will soon publish the full tutorial with ready-to-use code. In the meantime:

Last updated: