Introduces the LightRAG Retrieval-Augmented Generation framework as an Apolo app, including input/output schemas, types, and processors. Adds Helm chart value processing, environment and persistence configurations, and output service discovery for deployment. Includes scripts for generating type schemas and testing support, along with CI and linting setup tailored for the new app. Provides a documentation loader script to ingest markdown files into LightRAG with flexible referencing modes. Relates to MLO-469
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
exclude: ^lightrag/api/webui/
|
|
- id: end-of-file-fixer
|
|
exclude: ^lightrag/api/webui/
|
|
- id: requirements-txt-fixer
|
|
exclude: ^lightrag/api/webui/
|
|
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.6.4
|
|
hooks:
|
|
- id: ruff-format
|
|
exclude: ^lightrag/api/webui/
|
|
- id: ruff
|
|
args: [--fix, --ignore=E402]
|
|
exclude: ^lightrag/api/webui/
|
|
|
|
|
|
- repo: https://github.com/mgedmin/check-manifest
|
|
rev: "0.49"
|
|
hooks:
|
|
- id: check-manifest
|
|
stages: [manual]
|
|
exclude: ^lightrag/api/webui/
|
|
|
|
|
|
- repo: https://github.com/mrtazz/checkmake.git
|
|
rev: 0.2.2
|
|
hooks:
|
|
- id: checkmake
|
|
|
|
|
|
- repo: https://github.com/gruntwork-io/pre-commit
|
|
rev: v0.1.30
|
|
hooks:
|
|
- id: helmlint
|
|
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: generate-types-schemas
|
|
name: Generate types schemas
|
|
entry: make -f .apolo/scripts/gen_types_schemas.mk gen-types-schemas
|
|
language: system
|