Recipe
nemo-guardrails
The NeMo Guardrails server as a guard in a model's path, for local development via Docker Compose: one service running the image in infra.image, synthesized from the Workload kind by the compose provider. Two compose configs carry the guard's configuration as the product's own two files — config.yaml, naming the Hugging Face classifier rail pointed at the detector wired on the detector socket, with values.threshold and values.blocked_labels; and rails.co, the flow that keeps a request body from switching that rail off. The guard starts in the product's single-configuration mode and refuses a request naming any other configuration. It writes no NemoGuard rail, and halts while the content_safety or jailbreak_detection socket holds a connection. Compose has no env-from-secret primitive, so an attached upstream_key credential is rendered as a plain environment variable, under the name config.yaml gives it, which is therefore also the key the attached credential must publish under; unattached, the guard presents none. The upstream address reaches the guard as MAIN_MODEL_BASE_URL, from infra.upstream_endpoint. The service publishes no port on the host: callers sit on the same compose network. provides.host is the compose service name, and the published contract is key for key the one the Kubernetes realization publishes.
प्रोवेनेंस
- सामग्री डाइजेस्ट
- sha256:2363d9fa990f2b40b8f0ddd43f73948f9ee487a1487ba8e72ffc4cdab5ca8a5c
- प्रकाशित
- 2026-11-10T10:19:58Z
- हस्ताक्षर आइडेंटिटी
- 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:4ae91edc1440362b96f770c93906b4d8f2769686010d7602db4beea803ee2f86
इस संस्करण का रेफ़रेंस
oci://hub.aggrega.ai/recipe/compose/nemo-guardrails:1.0.0- लक्ष्य
- —
- इम्प्लीमेंट करता है
- core/security/nemo-guardrails:1.0.0
प्रदान करता है
नियतात्मक पॉइंटर टेम्पलेट, जिन्हें यह रेसिपी उपभोक्ताओं के लिए वायर करती है।
| नाम | टेम्पलेट |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.instance_id }}:{{ .infra.port }}/v1 |
| protocol | http |
| threshold | {{ .values.threshold }} |
Workload
Workload · form: stateless · containers: main
लोकल मान
| नाम | टेम्पलेट |
|---|---|
| config_name | {{ .context.instance_id }}-config |
| flow_config_name | {{ .context.instance_id }}-flow |
| config_id | config |
| config_dir | /app/config/config |
| upstream_key_variable | UPSTREAM_API_KEY |
| classifier_name | prompt_injection |
मान-मैपिंग
कोई मान-मैपिंग घोषित नहीं है।
संबंध
अन्य प्रकाशित एंटिटी की ओर जाने वाले और उनसे आने वाले टाइप किए गए एज। जिस रेफ़रेंस का कोई प्रकाशित लक्ष्य नहीं है, वह लिंक के बजाय टूटे हुए एज के रूप में दिखाया जाता है।
इनका उपयोग करता है
- इम्प्लीमेंट करता हैइम्प्लीमेंट करता हैअनुबंध संगत
core/security/nemo-guardrails:1.0.0
सभी आवश्यक आउटपुट पूरे होते हैं और प्रदान किए गए हर आउटपुट का नाम अनुबंध में है।
इनके द्वारा उपयोग किया जाता है
कैटलॉग में कुछ भी इस एंटिटी पर निर्भर नहीं है।