Ta strona została przetłumaczona maszynowo. Przeczytaj oryginał w języku angielskim.

FeatureRecipe

prompt-injection-shield-litellm

Component-scope FeatureRecipe for core/prompt-injection-shield on the AI gateway core/gateway/litellm. It emits no file. The gateway's own Recipe, reading the attachment, sends every entry of the model map to the guard wired to the gateway's guard socket, which checks each chat request and forwards what it admits to the model; this recipe writes a request policy under which the gateway refuses every other kind of request with HTTP 400, forwarding nothing, since the guard checks chat completions only. The guard must be core/security/nemo-guardrails running the threshold the sensitivity names, 0.5 for standard and 0.001 for strict, the values measured for its detector's default classifier. The build halts otherwise, with nothing on the guard socket, naming it, with more than one guard, on a second attachment, on a map target not written openai/<model>, while the provider_key slot or core/semantic-caching is attached or a model is wired to the models socket, and on any component other than core/gateway/litellm. The guard reads only the latest user message, and judges no reply, tool-call argument or image. A request it refuses is answered with an ordinary completion, streamed when asked; when the guard or its detector cannot be reached the request is refused and nothing reaches the model.

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:cbd6a64fcee8416fb11ac8f70f6cc4bf46b3324a60a45cb3c8743a6b17dc2080
Opublikowano
2026-11-10T10:16:04Z
Tożsamość podpisująca
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Podpis

  • Oficjalnyapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:cd81ce4eeda73605cd9e68726c344c2e460aab899752a50f81aa22989baf9230

Referencja w tej wersji

oci://hub.aggrega.ai/featurerecipe/helm/prompt-injection-shield-litellm:1.0.0
Cel
—
Implementuje
core/prompt-injection-shield:1.0.0

Udostępnia

Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.

Nie zadeklarowano szablonów provides.

Workload

Nie zadeklarowano szablonu obciążenia roboczego.

Zmienne lokalne

NazwaSzablon
sensitivity_thresholds{"standard": 0.5, "strict": 0.001}

Mapowanie wartości

Nie zadeklarowano mapowania wartości.

Relacje

Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.

Używa

Używane przez

Nic w katalogu nie zależy od tej encji.

Dokumentacja pojęcia FeatureRecipe →

Katalog Aggrega — otwarty indeks komponentów, funkcji, receptur oraz wtyczek, które je renderują.

Zbudowano przy użyciu wspólnego systemu projektowego Aggrega.

Prywatność