fix
This commit is contained in:
@@ -113,3 +113,20 @@ Seed (from apps/api, DATABASE_URL set):
|
||||
go run ./cmd/seed-support-kb
|
||||
go run ./cmd/seed-support-kb -file ../../scripts/seed/support-kb-articles-tech.json
|
||||
Idempotent ON CONFLICT (slug). Do not reuse product slugs for tech articles.
|
||||
|
||||
Platform-default category formulas (English)
|
||||
--------------------------------------------
|
||||
a1-category-prompts.json stays the A1 tenant's own Slovenian formula set. Every
|
||||
other tenant uses the English translation of the same formulas:
|
||||
|
||||
apps/api/internal/aiprompts/defaults/default-category-prompts.json (embedded)
|
||||
|
||||
Generated from this seed by scripts/seed/build-default-category-prompts.mjs:
|
||||
|
||||
make seed-defaults # regenerate after editing the A1 seed or the phrase table
|
||||
make check-defaults # fail when the embedded copy is stale
|
||||
|
||||
The generator translates a closed vocabulary (title slots, body blocks, meta rule)
|
||||
and refuses to emit an entry with any untranslated Slovenian left in it. New
|
||||
categories get these formulas at create time; categories with none fall back to
|
||||
them at enhance time. See docs/category-formulas.md.
|
||||
|
||||
Reference in New Issue
Block a user