chore(privacy): scrub real-org references from plugin internals (phase 2)
Same bulk replacement applied to plugin-internal KB, examples, fixtures, tests, and docs. Real organization names, persona names, internal system identifiers, and domain-specific terms replaced with fictional generic public-sector entity (DDT) and generic terminology. Scope: - okr/ — examples, governance, framework, integrations, sources - ms-ai-architect/ — KB references (engineering, governance, security, infrastructure, advisor), tests/fixtures, agents, docs - linkedin-thought-leadership/ — voice samples, network-builder, examples (genericized identifying headlines to "[your organization]") - llm-security/ — research notes, scan report Manual genericization beyond bulk replace: - okr SKILL.md "Primary user / Domain" — generic Norwegian public sector - linkedin-voice SKILL.md headline placeholder - network-builder.md headline placeholder - high-engagement-posts.md voice sample employer line + hashtag Phase 3 (factual-attribution review) remains: a few KB files attribute publicly known transport-sector docs/datasets (e.g. håndbok V440, NVDB) to the fictional DDT after bulk replace. Needs manual semantic review to either remove or restore correct citation without re-introducing affiliation references. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
3d10f51bd4
commit
781d98f62f
61 changed files with 138 additions and 138 deletions
|
|
@ -153,15 +153,15 @@ def design_cacheable_prompt(
|
|||
return messages, stats
|
||||
|
||||
|
||||
# Eksempel: Saksbehandler-assistent for Statens vegvesen
|
||||
# Eksempel: Saksbehandler-assistent for Direktoratet for digital tjenesteutvikling
|
||||
messages, stats = design_cacheable_prompt(
|
||||
system_instructions="""Du er en AI-assistent for saksbehandlere i
|
||||
Statens vegvesen. Du hjelper med å analysere klager på vedtak om
|
||||
førerkort, vurdere om klagen har grunnlag, og foreslå svar.
|
||||
Direktoratet for digital tjenesteutvikling. Du hjelper med å analysere klager på vedtak om
|
||||
saksbehandling, vurdere om klagen har grunnlag, og foreslå svar.
|
||||
|
||||
Regelverk du skal referere til:
|
||||
- Vegtrafikkloven § 24-34
|
||||
- Førerkortforskriften
|
||||
- fagforskriften
|
||||
- Forvaltningsloven § 28-36 (klagebehandling)
|
||||
|
||||
Format: Alltid bruk overskrifter, vurder hvert punkt separat,
|
||||
|
|
@ -173,7 +173,7 @@ messages, stats = design_cacheable_prompt(
|
|||
"output": "## Vurdering\n### Regelverksvurdering..."
|
||||
},
|
||||
{
|
||||
"input": "Klage: Mitt førerkort ble inndratt...",
|
||||
"input": "Klage: Mitt saksbehandling ble inndratt...",
|
||||
"output": "## Vurdering\n### Regelverksvurdering..."
|
||||
}
|
||||
],
|
||||
|
|
@ -203,7 +203,7 @@ client = AzureOpenAI(
|
|||
response = client.chat.completions.create(
|
||||
model="gpt-4o",
|
||||
messages=messages,
|
||||
prompt_cache_key="svv-complaint-handler-v2", # Gruppert caching
|
||||
prompt_cache_key="ddt-complaint-handler-v2", # Gruppert caching
|
||||
max_tokens=1000
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue