Skip to content
nipdep edited this page Mar 17, 2025 · 2 revisions

Overview

The backend server is designed using Shiny and located within the shiny_app/server.R. The helper functions for the functionality are located in the helpers/ directory.

Folder Structure

The following are the files for the Server side logic. The logic is sub divided within helper directory for the ease of convenience.

ChatBS-NextGen/              
├── setup_dependencies.R      # Script to install required R packages
├── shiny_app/                
│   ├── server.R              # Server-side logic for the Shiny app
├── helpers/                  # Directory for storing experiment results
│   ├── configs/              # default configuration objects
│   ├── experiment/           # Experiment running functionalities
│   ├── extractor/            # Information extraction functionalities
│   ├── kg_query/             # SPARQL query functionalities
│   ├── pipeline/             # pipeline building and run functionalities
│   ├── post_processor/       # db response post-processing functionalities
│   ├── response_generator/   # llm text generator functionalities
│   ├── utils/                # utility functions
│   ├── validations/          # input validations 

The server is written with the ObserveEvent paradigm of shiny reactive Variables.