feat(rag): Register Verbraucherschutz laws + EU directives in RAG constants
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 46s
CI / test-go-edu-search (push) Successful in 33s
CI / test-nodejs-website (push) Has been cancelled
CI / test-python-agent-core (push) Has been cancelled
CI / test-python-klausur (push) Has been cancelled

Add 15 new regulations from Phase H ingestion:
- DE: PAngV, VSBG, ProdHaftG, VerpackG, ElektroG, BattDG, BFSG, UWG, GewO
- EU: Warenkauf-RL, Klausel-RL, UGP-RL, Preisangaben-RL, Omnibus-RL, BattVO

Chunk counts set to 0 (will be updated after successful ingestion).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-12 06:43:19 +01:00
parent 2e21a4b6d0
commit 2fdf3ff868

View File

@@ -26,6 +26,13 @@ export const REGULATIONS_IN_RAG: Record<string, RagRegulationEntry> = {
E_COMMERCE_RL: { collection: 'bp_compliance_ce', chunks: 197, qdrant_id: 'eu_2000_31' },
VERBRAUCHERRECHTE_RL: { collection: 'bp_compliance_ce', chunks: 266, qdrant_id: 'eu_2011_83' },
DIGITALE_INHALTE_RL: { collection: 'bp_compliance_ce', chunks: 321, qdrant_id: 'eu_2019_770' },
// Verbraucherschutz EU-Richtlinien (Phase H2 Ingestion)
WARENKAUF_RL: { collection: 'bp_compliance_ce', chunks: 0, qdrant_id: 'sgd' },
KLAUSEL_RL: { collection: 'bp_compliance_ce', chunks: 0, qdrant_id: 'uctd' },
UNLAUTERE_PRAKTIKEN_RL: { collection: 'bp_compliance_ce', chunks: 0, qdrant_id: 'ucpd' },
PREISANGABEN_RL: { collection: 'bp_compliance_ce', chunks: 0, qdrant_id: 'pid' },
OMNIBUS_RL: { collection: 'bp_compliance_ce', chunks: 0, qdrant_id: 'omn' },
BATTERIE_VO: { collection: 'bp_compliance_ce', chunks: 0, qdrant_id: 'battvo' },
DMA: { collection: 'bp_compliance_ce', chunks: 701, qdrant_id: 'eu_2022_1925' },
DPF: { collection: 'bp_compliance_ce', chunks: 2464, qdrant_id: 'dpf' },
EUCSA: { collection: 'bp_compliance_ce', chunks: 558, qdrant_id: 'eucsa' },
@@ -68,6 +75,17 @@ export const REGULATIONS_IN_RAG: Record<string, RagRegulationEntry> = {
DE_USTG_RET: { collection: 'bp_compliance_gesetze', chunks: 1071, qdrant_id: 'de_ustg_ret' },
DE_URHG: { collection: 'bp_compliance_gesetze', chunks: 626, qdrant_id: 'urhg_komplett' },
// === DE Verbraucherschutz-Gesetze (bp_compliance_gesetze) — Phase H Ingestion ===
DE_PANGV: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'pangv' },
DE_VSBG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'vsbg' },
DE_PRODHAFTG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'prodhaftg' },
DE_VERPACKG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'verpackg' },
DE_ELEKTROG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'elektrog' },
DE_BATTDG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'battdg' },
DE_BFSG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'bfsg' },
DE_UWG: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'uwg' },
DE_GEWO: { collection: 'bp_compliance_gesetze', chunks: 0, qdrant_id: 'gewo' },
// === BSI Standards (bp_compliance_gesetze) ===
'BSI-TR-03161-1': { collection: 'bp_compliance_gesetze', chunks: 138, qdrant_id: 'bsi_tr_03161_1' },
'BSI-TR-03161-2': { collection: 'bp_compliance_gesetze', chunks: 124, qdrant_id: 'bsi_tr_03161_2' },
@@ -217,6 +235,12 @@ export const REGULATION_INFO: RegulationInfo[] = [
{ code: 'DSM', name: 'DSM-Urheberrechtsrichtlinie', type: 'eu_directive' },
{ code: 'PLD', name: 'Produkthaftungsrichtlinie', type: 'eu_directive' },
{ code: 'GPSR', name: 'General Product Safety', type: 'eu_regulation' },
{ code: 'WARENKAUF_RL', name: 'Warenkauf-RL', type: 'eu_directive' },
{ code: 'KLAUSEL_RL', name: 'Klausel-RL', type: 'eu_directive' },
{ code: 'UNLAUTERE_PRAKTIKEN_RL', name: 'UGP-RL', type: 'eu_directive' },
{ code: 'PREISANGABEN_RL', name: 'Preisangaben-RL', type: 'eu_directive' },
{ code: 'OMNIBUS_RL', name: 'Omnibus-RL', type: 'eu_directive' },
{ code: 'BATTERIE_VO', name: 'Batterieverordnung', type: 'eu_regulation' },
{ code: 'E_COMMERCE_RL', name: 'E-Commerce-Richtlinie', type: 'eu_directive' },
{ code: 'VERBRAUCHERRECHTE_RL', name: 'Verbraucherrechte-RL', type: 'eu_directive' },
{ code: 'DIGITALE_INHALTE_RL', name: 'Digitale-Inhalte-RL', type: 'eu_directive' },
@@ -245,6 +269,16 @@ export const REGULATION_INFO: RegulationInfo[] = [
{ code: 'DE_GESCHGEHG', name: 'GeschGehG', type: 'de_law' },
{ code: 'DE_USTG_RET', name: 'UStG', type: 'de_law' },
{ code: 'DE_URHG', name: 'UrhG', type: 'de_law' },
// DE Verbraucherschutz
{ code: 'DE_PANGV', name: 'PAngV', type: 'de_law' },
{ code: 'DE_VSBG', name: 'VSBG', type: 'de_law' },
{ code: 'DE_PRODHAFTG', name: 'ProdHaftG', type: 'de_law' },
{ code: 'DE_VERPACKG', name: 'VerpackG', type: 'de_law' },
{ code: 'DE_ELEKTROG', name: 'ElektroG', type: 'de_law' },
{ code: 'DE_BATTDG', name: 'BattDG', type: 'de_law' },
{ code: 'DE_BFSG', name: 'BFSG', type: 'de_law' },
{ code: 'DE_UWG', name: 'UWG', type: 'de_law' },
{ code: 'DE_GEWO', name: 'GewO', type: 'de_law' },
// BSI
{ code: 'BSI-TR-03161-1', name: 'BSI-TR Teil 1', type: 'bsi_standard' },
{ code: 'BSI-TR-03161-2', name: 'BSI-TR Teil 2', type: 'bsi_standard' },