หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

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

Provides

เทมเพลตตัวชี้ที่กำหนดแน่นอนซึ่ง Recipe นี้เชื่อมโยงให้ผู้บริโภค

ชื่อเทมเพลต
host{{ .context.instance_id }}
port{{ .infra.port }}
endpointhttp://{{ .context.instance_id }}:{{ .infra.port }}/v1
protocolhttp
threshold{{ .values.threshold }}

Workload

Workload · form: stateless · containers: main

Locals

ชื่อเทมเพลต
config_name{{ .context.instance_id }}-config
flow_config_name{{ .context.instance_id }}-flow
config_idconfig
config_dir/app/config/config
upstream_key_variableUPSTREAM_API_KEY
classifier_nameprompt_injection

การแมป values

ไม่มีการแมป values ที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

Uses

  • อิมพลีเมนต์อิมพลีเมนต์สัญญาเข้ากันได้

    core/security/nemo-guardrails:1.0.0

    เอาต์พุตที่จำเป็นครบถ้วนแล้ว และเอาต์พุตที่ให้มาทุกรายการมีชื่ออยู่ในสัญญา

ใช้โดย

ไม่มีสิ่งใดในแค็ตตาล็อกพึ่งพาเอนทิตีนี้

เอกสารอ้างอิงแนวคิดของ Recipe

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว