Component
core/security/fms-guardrails-orchestrator
The FMS Guardrails Orchestrator: a service that runs text detectors around a model call. A caller posts an OpenAI chat-completions request naming the detectors to apply; the orchestrator checks the latest message, answers a detection with the detections and no reply, and otherwise forwards the request to the upstream server in infra.upstream_host and infra.upstream_port, adding any detection on the reply. It also answers detection-only requests over a text. It is not a guard on its own: a request naming no detectors is forwarded unchecked, so it sits behind a component that names them, such as core/security/trustyai-guardrails-gateway. Its Recipes register the one detector wired on the detector socket under values.detector_id. Answering a detection asks the upstream's /tokenize route, which vLLM serves, to count the refused text, so that text reaches the upstream. It authenticates no caller and forwards none of a caller's headers. The Release supplies the image in infra.image and the catalog names none: TrustyAI's build adds the compat-openssl11 package, whose declared licence includes the OpenSSL licence, compiles in root-certificate data published under a data licence, and is published only under a floating tag. Nothing renders until the Release sets `infra.image`. Realized on Kubernetes by its Helm Recipe and for local development by its Compose Recipe, each running that image as a single stateless service.
出處
- 內容摘要
- sha256:25cf72dcc3f5e2ad828647e0e30c671423a3d2ca6895adc1d3a3ffd0ca676e89
- 發布時間
- 2026-11-10T10:13:36Z
- 簽署身分
- 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:c65574df5e602940b1079c5a4148ffed7e5cdd541fa8f7b0d671dd212818491b
此版本的參照
oci://hub.aggrega.ai/component/core/security/fms-guardrails-orchestrator:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| detector_id | string | detector | 否 | Id the wired detector is registered under, which a caller names in a request's detectors to have it applied. Published as provides.detector_id, so a component calling the orchestrator reads it from the edge rather than repeating it. |
| default_threshold | number (min 0, max 1) | 0.5 | 否 | Score at or above which a detection is reported when the caller's request names no threshold for the detector. The orchestrator applies the threshold itself and sends the detector its other parameters, so core/security/trustyai-huggingface-detector reports to it only labels scored at or above its own 0.5, and with that detector a value below 0.5 has no effect. |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 8033 | 否 | Port the orchestrator serves its API on and its Service accepts callers on. Most operators should omit this and let the Recipe assign the default (8033), the product's own. |
| health_port | integer (min 1024, max 65535) | 8034 | 否 | Port the orchestrator serves its health route on, which the Recipes' probes ask and no Service publishes. Most operators should omit this and let the Recipe assign the default (8034), the product's own. |
| upstream_host | string | — | 是 | Host name of the OpenAI-compatible model server the orchestrator forwards the requests it admits to, for example model-server. A deterministic pointer string the orchestrator resolves when it forwards; the compiler never contacts it. |
| upstream_port | integer (min 1, max 65535) | — | 是 | Port of that model server. The orchestrator reaches it over plain HTTP at /v1/chat/completions, and asks its /tokenize route to answer a detection on the input. |
| image | string | — | 是 | Image the orchestrator runs, supplied by the Release; the catalog names none. The Recipes run the published build's own binary at /app/bin/fms-guardrails-orchestr8, so the image is TrustyAI's FMS Guardrails Orchestrator or a copy of it. That build adds the compat-openssl11 package, compiles in root-certificate data published under a data licence, and is tagged only as latest, so a Release that must keep one build mirrors it and names the copy here. |
| compute | object | — | 否 | — |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | In-cluster DNS name of the Service fronting the orchestrator. Every caller reaching this name can reach the model through it, with or without a detector applied, so it is an address for the component calling the orchestrator rather than one to publish. |
| port | integer | — | 是 | 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. |
| endpoint | string | — | 是 | Base URL of the orchestrator's API, with the host and the port already composed and no path. A caller posts chat completions to /api/v2/chat/completions-detection under it. |
| detector_id | string | — | 是 | Id the wired detector is registered under, which a caller names in a request's detectors. |
| protocol | string | — | 否 | URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
detector
- 選擇器
- security.aggrega.ai/text-detection=detector
- 注入
- —
此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
未宣告任何自我注入管道。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「detector」
security.aggrega.ai/text-detection=detector
未宣告任何附加槽位。
被使用於
使用插槽「auth_core」
使用插槽「auth_core」
使用插槽「auth_core」
使用插槽「auth_core」
使用插槽「upstream」
使用插槽「forward_target」
使用插槽「scrape_target」
使用插槽「store」
使用插槽「jailbreak_detection」
使用插槽「orchestrator」
適用於
適用於
適用於
適用於
適用於
適用於
適用於
實作
實作