Get started with full-stack RAG applications using Embedchainโ€™s easy-to-use CLI tool. Set up everything with just a few commands, whether you prefer Docker or not.

Prerequisites

Choose your setup method:

Without Docker

Ensure these are installed:

  • Embedchain python package (pip install embedchain)
  • Node.js and Yarn

With Docker

Install Docker from Dockerโ€™s official website.

Quick Start Guide

Install the package

Before proceeding, make sure you have the Embedchain package installed.

pip install embedchain -U

Setting Up

For the purpose of the demo, you have to set OPENAI_API_KEY to start with but you can choose any llm by changing the configuration easily.

Installation Commands

ec create-app my-app
cd my-app
ec start

What Happens Next?

  1. Embedchain fetches a full stack template (FastAPI backend, Next.JS frontend).
  2. Installs required components.
  3. Launches both frontend and backend servers.

See It In Action

Open http://localhost:3000 to view the chat UI.

full stack example

Admin Panel

Check out the Embedchain admin panel to see the document chunks for your RAG application.

full stack chunks

API Server

If you want to access the API server, you can do so at http://localhost:8000/docs.

API Server

You can customize the UI and code as per your requirements.