本頁面由機器翻譯。閱讀英文原文。

Component

core/security/nemoguard-jailbreak-detect

NVIDIA's NemoGuard JailbreakDetect, served by its NIM: a classifier that reads a text and reports whether it is an attempt to make a model ignore its instructions, with a score. It changes and forwards nothing. core/security/nemo-guardrails points its jailbreak-detection rail at it through its jailbreak_detection socket. Running it requires an NVIDIA AI Enterprise licence or NVIDIA Developer Program membership, and an NGC API key: NVIDIA restricts access to the image and the model, and the container fetches its model from NVIDIA with the key when it starts. The Release names the image in infra.image and the catalog names none, so nothing renders until it is set. Realized on Kubernetes by helm/nemoguard-jailbreak-detect, one replica that requests a GPU. It authenticates no caller, so it is published on an in-cluster address only.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:a12fae80984fae74116e1dbbab57e130f867ad80e5a193a1f8ef0cbda482d050
發布時間
2026-11-10T10:13:49Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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:b6fea30f86e941b677a03c49e0802ba380f8f06328e982ee5344b21da8fc7842

此版本的參照

oci://hub.aggrega.ai/component/core/security/nemoguard-jailbreak-detect:1.0.0

開發者參數

開發者在 Aggregate 中設定的值。

未宣告任何開發者參數。

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
portinteger (min 1024, max 65535)8000否Port the classifier listens on and its Service accepts callers on, handed to the container as NIM_HTTP_API_PORT, the variable NVIDIA documents for it. Most operators should omit this and let the Recipe assign the default (8000).
imagestring—是Full reference of the jailbreak-detection NIM image, including its tag — the image the operator is entitled to pull. There is no default, because access to NIM images is governed by NVIDIA's terms rather than by the catalog, and the catalog therefore names none.
computeobject—否—
model_cacheobject—否Volume the container fetches its model into and reads it from, kept across restarts so the model is fetched once. NVIDIA lists the model at about 530 MB.
gpuobject—否GPU scheduling for the classifier's container. NVIDIA supports the NIM on one GPU and its documented run hands the container the host's GPUs, so the container always requests at least one; a runtime_class selects the GPU-enabled container runtime. Requires a GPU-capable cluster.
image_pull_secretstring—否Name of a pre-created Kubernetes image-pull Secret granting access to NVIDIA's registry, nvcr.io, where the NIM image is published. Omit when the cluster can pull the image without credentials, as from a mirror it already reaches.

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
hoststring—是In-cluster DNS name of the Service fronting the classifier. Every caller reaching this name can submit text, so it is an address for the component that calls the service rather than one to publish.
portinteger—是TCP port that Service accepts callers on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
endpointstring—是Base URL of the classifier's API, with the host, the port and the API path /v1 already composed. A caller posts the text to check to the classify route under it.
protocolstring—否URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.
metrics_endpointstring—否The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/v1/metrics` on the port callers reach.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

未宣告任何 uses 插槽。

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

槽位選擇器必填注入敏感描述
ngc_api_keyfeature.aggrega.ai/kind=secret否env是Optional NGC API key the container fetches its model with when it starts. When attached, the container receives it as the NGC_API_KEY environment variable, read from a Secret by reference. Unattached, the container starts without it and can serve only a model already in its cache volume.

自我注入允許清單

未宣告任何自我注入管道。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

此實體未使用目錄中的任何項目。

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權