AI Gateway · Component · semantic-policy-prompt-registry
Prompt registry, cache and semantic policies
What it does
Manage prompt templates and prompt cache, classify request intent and produce context/guardrail evidence; context optimization includes advisory modes.
Core pattern
Prompt template management + intent and guardrail checks
- Input
- Canonical request, templates and policies
- Output
- Cache result, route hints, findings and context recommendations
Key parameters
| Name | Type | Default | Values |
|---|---|---|---|
| operation | string | get_template | create_template · get_template · classify · cache_lookup · cache_store · invalidate_cache |
| prompt_key | string | — | — |
| version | — | — | — |
| template | — | — | — |
| model | — | — | — |
Maturity and limits
Service defines intent, context optimizer and guardrail evidence; template/cache controllers. Source paths were inspected statically; tests and live integrations were not executed. This rating describes implemented code, not production validation.
Credential-bearing configuration is excluded from this inventory. MIT; retain notices. Provider compatibility is configuration-dependent; metadata/privacy and optional payload plugins need review. Static inspection only.
Used in pipelines
Industry tags
- HealthcareTransferable use
For hospital appointment and administrative service desks, use prompt template management followed by intent and guardrail checks.
- Government & public servicesTransferable use
Support “Define desk and department scopes” with prompt template management followed by intent and guardrail checks.
Skills pack
Contract scaffold and deterministic mock
Download · 12KBSHA-256 964a57e6ebdbb3807b6f301ad99fdccd97d2e4419879d96dcc13ba48767f022c
Related components
-
Governed provider and tool execution gateway
Request scope and budget checks + approval and idempotent calls
Working 1 pipeline -
Policy-controlled MCP gateway
Tool-call proxying + endpoint and environment policy limits
Working 1 pipeline -
Versioned gateway policy rollout
Policy validation and diff review + publication and rollback
Working 1 pipeline -
Workspace and agent access governance
Team role configuration + service access scopes
Working 1 pipeline