Skip to content

Comments

feat: add database management via REST API and UI Configuration tab#91

Open
anfredette wants to merge 2 commits intoredhat-et:mainfrom
anfredette:db-loader
Open

feat: add database management via REST API and UI Configuration tab#91
anfredette wants to merge 2 commits intoredhat-et:mainfrom
anfredette:db-loader

Conversation

@anfredette
Copy link
Member

Enable remote benchmark data management without shell access. Adds three API endpoints (GET /db/status, POST /db/upload-benchmarks, POST /db/reset) and a Configuration tab in the UI for uploading benchmark JSON files, viewing database statistics, and resetting data.

Extracts shared loading logic into knowledge_base/loader.py, used by the CLI script, API endpoints, and UI.

Includes config_id fix, which adds requests_per_second for correct duplicate detection.

Enable remote benchmark data management without shell access.
Adds three API endpoints (GET /db/status, POST /db/upload-benchmarks,
POST /db/reset) and a Configuration tab in the UI for uploading
benchmark JSON files, viewing database statistics, and resetting data.

Extracts shared loading logic into knowledge_base/loader.py, used by
the CLI script, API endpoints, and UI.Includes config_id deduplication with requests_per_second for correctduplicate detection.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: Andre Fredette <afredette@redhat.com>
After the PyPA src layout refactoring, BACKEND_DIR was never defined,
breaking make lint/format/test targets. Rename to SRC_DIR to match
the actual directory name and fix lint/format glob paths.

Signed-off-by: Andre Fredette <afredette@redhat.com>
@anfredette anfredette requested a review from amito February 17, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant