Git Product home page Git Product logo

sciphi-demo's Introduction

RAG Pipeline Web Application

This repository contains a web application that interacts with a deployed RAG (Retrieval Augmented Generation) pipeline built using the R2R framework and the SciPhi cloud platform. The web application allows users to upload documents, submit queries, and receive AI-generated answers based on the uploaded documents.

Prerequisites

Before using the web application, ensure that you have deployed the RAG pipeline using the R2R-basic-rag-template repository. Follow the instructions in the template's README to set up and configure the pipeline.

Features

  • User-specific document management: Each user has their own set of uploaded documents.
  • Document upload: Users can upload documents through the application interface.
  • Query submission: Users can submit queries based on their uploaded documents.
  • AI-generated answers: The application communicates with the deployed RAG pipeline to process the uploaded documents and generate answers to user queries.
  • Source citations: The generated answers include citations to the relevant documents used to derive the answer.
  • Responsive design: The application is designed to be responsive and work well on different screen sizes.

Installation

  1. Clone this repository:

    git clone [email protected]:SciPhi-AI/APP-basic-rag-template.git
    
  2. Navigate to the project directory:

    cd web
    
  3. Install the dependencies using pnpm:

    pnpm install
    

Usage

  1. Start the development server:

    pnpm dev
    

    This will start the application in development mode and open it in your default browser.

  2. Open the application in your browser at http://localhost:3000.

  3. Enter the URL of your deployed RAG pipeline in the "API URL" input box at the top of the page.

  4. Upload documents using the "Upload File" button in the sidebar.

  5. Submit queries using the search input at the bottom of the main content area.

  6. View the generated answers and source citations in the main content area.

  7. Build the server:

    pnpm build
    

sciphi-demo's People

Contributors

emrgnt-cmplxty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.