2025-01-30 13:59:51 -05:00

23 lines
995 B
Markdown

# Web App
This directory contains the source code for a FastAPI application implements a REST API wrapper around the graphrag library. The app has been packaged up as a python package for a cleaner install/deployment experience.
## Package Layout
The code has the following structure:
```shell
backend
├── README.md
├── graphrag_app # contains the main application files
│   ├── __init__.py
│   ├── api # endpoint definitions
│   ├── logger # custom loggers designed for graphrag use
│   ├── main.py # initializes the FastAPI application
│   ├── typing # data validation models
│   └── utils # utility/helper functions
├── manifests # k8s manifest files
├── poetry.lock
├── pyproject.toml
├── pytest.ini
├── scripts # miscellaneous scripts that get executed in k8s
└── tests # pytests (integration tests + unit tests)
```