Skip to content

RAGIT Front End

codingismycraft edited this page Oct 1, 2024 · 1 revision

Running the UI Web Server

Steps to Run the Web Server

  1. Navigate to the Front-end Directory:

    cd ragit/front_end
  2. Start the Web Server:

    Run the following command, replacing <collection-name> with the name of your RAG collection:

    python3 app.py <collection-name>

Accessing the Web Application

Once the web server is running, you should be able to access the RAGIT web application using your web browser. The URL will be in the format:

http://localhost:13131

Example Workflow

Let's assume you have a RAG collection named stories; you can start it be running the following:

cd ragit/front_end
python3 app.py stories

Access the Application:

Open your web browser and navigate to:

http://localhost:13133/login

image

Using the Web Application

After creating a user, you will be able to start using the frontend of the application by entering your questions in the text box. The web application will utilize the vector database to provide responses based on the RAG pipeline.

image

Summary

This guide covered the steps to configure and run the RAGIT web application. By setting up the configuration file and starting the web server, you can leverage the power of RAG to build interactive, data-driven applications.