ConRAG-docs

Home Manual About

Manual Setup

This Page contains Instructions for testing the RAG

Frontend Setup

cd .\frontend\
npm install
npm run dev

Backend Setup

cd .\rag
npm install

Setup up the Embedding Server and Meta AI API

It Uses Sentence Transformer with all-mpnet-base-v2 model. Can be replaced with other sentence transformer models from HuggingFace

cd .\rag\servers
python .\embed.py

Setup up the Environment Varibles

Use the base example.env to create your .env

    cp example.env .env

Note: Replace with your Gemini API Key. Get Gemini API from Gemini API

If you wish to use ollama. Then you need to run Ollama, Refer /Ollama

Run the Server

To Start the Backend server

    npm run server