Saturday, August 31, 2024

Install RAG Me Up with Ollama Locally - Free RAG with Any Dataset

 This video shows how to install and use RAG Me Up which is a generic framework (server + UIs) that enables you do to RAG on your own dataset.


Code:

conda create -n rag python=3.11 -y && conda activate rag


sudo apt update
sudo apt install openjdk-17-jre
sudo apt install openjdk-17-jdk

java --version

Install Scala : To install Scala, it is recommended to use cs setup, the Scala installer powered by Coursier. It installs everything necessary to use the latest Scala release from a command line

curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
source ~/.profile

Install SBT, simple build tool for scala :

cs setup
sbt --script-version

This should install the latest stable version of sbt


git clone https://github.com/UnderstandLingBV/RAGMeUp.git cd RAGMeUp/server
pip install -r requirements.txt
python3 server.py

For Scala UI:
Run sbt run from the server/scala

No comments: