Directory structure

Preview

This feature is in Private Preview. To try it, reach out to your Databricks contact.

This document explains the directory structure of the RAG Application. This directory is a unified code base that works in both development and production environments – just like you would expect from a typical full-stack software application’s code base.

Looking for a different RAG Studio doc? Go to the RAG documentation index

rag-app/
│
├── config /
│   │
│   └── rag_studio.yml            <- Main configuration file for RAG Studio.
|
├── resources/                    <- Internal resources used by RAG Studio - do not modify.
│
└── src/                          <- Store all Source code directory for the application.
    │
    ├── my_rag_builder/           <- Store all application code here.
    │   └── chain.py              <- Code for the chain
    │   └── document_processor.py <- Code for the data processor
    │
    |── notebooks/                <- Internal RAG Studio notebooks for running workflows - do not modify.
    │   └── ingest_data.py        <- Code for the data ingestor - this is the only file in this folder you can modify.
    |
    └── review/                   <- Configuration for the Review UI
    │   └── instructions.md       <- Instructions shown to the end user in the Review UI