Q&A RAG Demo

Q&A RAG Demo

This demo guides you through the process of setting up a Question and Answering (Q&A) system using the Retrieval-Augmented Generation (RAG) model on SciPhi Cloud. While the steps provided here are tailored for the Q&A RAG pipeline, they can be adapted for other prebuilt pipelines with some minor adjustments specific to each.

Step 1 - Signup

Signup with SciPhi

  1. Visit the SciPhi Cloud App (opens in a new tab).
  2. Sign in with your chosen provider.

Step 2 - Deploy

Deploy your pipeline

  1. Select "Deploy Pipeline".
  2. Choose the "Q&A RAG" card.
  3. Enter required secrets, e.g. OPENAI_API_KEY.
  4. Click "Deploy" to initiate your pipeline.

Step 3 - Test (Optional)

Test your pipeline

  1. Successful deployment returns a unique URL for your RAG pipeline.
  2. Use this URL with the R2R client or HTTP requests for interaction
  3. Refer to the API docs and the sdk docs for more information.

Step 4 - Connect

Connect to an application

  1. Go to and navigate to "Q&A RAG".
  2. Input your RAG pipeline's URL in the "API URL" field.
  3. Upload text, PDF, or other documents via "Upload File".
  4. Submit search queries and view responses with sources.

Step 5 - Build

Build your own application

  1. Fork the Q&A RAG Prebuilt (opens in a new tab) on GitHub.
  2. Clone it locally.
  3. Follow the README for setup and local execution.
  4. Integrate with your RAG pipeline and customize as needed.
  5. Deploy to your preferred hosting service or run locally.
  6. Download the Demo Application (opens in a new tab) from GitHub to kickstart your application development.