Recipe
trustyai-guardrails-gateway
TrustyAI's guardrails gateway 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. A compose config carries its configuration file, pointing the gateway at the orchestrator wired on the orchestrator socket and declaring one route, values.route, that applies the detector that orchestrator registered — by the detector_id it publishes — with values.threshold and answers a detection with values.fallback_message; it is mounted as one file, which the GATEWAY_CONFIG variable names. The product serves no health route, so the gateway's one healthcheck opens a connection to its port with the bash the image carries. The service publishes no port on the host: callers sit on the same compose network, and a gateway that authenticates no caller is kept off the host's interfaces. provides.host is the compose service name, and the published contract is key for key the one the Kubernetes realization publishes.
出處
- 內容摘要
- sha256:159fc080f3df2ea9766659ed8205fd748389d6a85fa6846adacc197dc208d236
- 發布時間
- 2026-11-10T10:21:10Z
- 簽署身分
- 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:509c36ea1b1e80d4e1111b57677eabf452e16c7c2ba08efe371d45cc08728467
此版本的參照
oci://hub.aggrega.ai/recipe/compose/trustyai-guardrails-gateway:1.0.0- 目標
- —
- 實作
- core/security/trustyai-guardrails-gateway:1.0.0
提供
此配方為使用端連接的確定性指標範本。
| 名稱 | 範本 |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.instance_id }}:{{ .infra.port }}/{{ .values.route }}/v1 |
| protocol | http |
Workload
Workload · form: stateless · containers: main
Locals
| 名稱 | 範本 |
|---|---|
| config_name | {{ .context.instance_id }}-config |
| config_path | /etc/trustyai-guardrails-gateway/config.yaml |
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/security/trustyai-guardrails-gateway:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。