Esta página foi traduzida automaticamente. Ler o original em inglês.

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.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:25cf72dcc3f5e2ad828647e0e30c671423a3d2ca6895adc1d3a3ffd0ca676e89
Publicado
2026-11-10T10:13:36Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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

Referência nesta versão

oci://hub.aggrega.ai/component/core/security/fms-guardrails-orchestrator:1.0.0

Parâmetros do programador

Valores que o programador define no Aggregate.

NomeTipoPredefiniçãoObrigatórioDescrição
detector_idstringdetectornãoId 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_thresholdnumber (min 0, max 1)0.5nãoScore 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.

Dimensionamento do operador

Dimensionamento da infraestrutura que o operador ajusta por ambiente.

NomeTipoPredefiniçãoObrigatórioDescrição
portinteger (min 1024, max 65535)8033nãoPort 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_portinteger (min 1024, max 65535)8034nãoPort 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_hoststring—simHost 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_portinteger (min 1, max 65535)—simPort 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.
imagestring—simImage 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.
computeobject—não—

Contrato de saída

Valores que este componente publica para os consumidores através da topologia uses.

NomeTipoPredefiniçãoObrigatórioDescrição
hoststring—simIn-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.
portinteger—simTCP 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—simBase 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_idstring—simId the wired detector is registered under, which a caller names in a request's detectors.
protocolstring—nãoURL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.

Sockets uses

Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.

detector

Seletor
security.aggrega.ai/text-detection=detector
Injeção
—

Este socket não declara slots de acoplamento, pelo que uma ligação através dele não transporta nenhum acoplamento.

Slots de acoplamento

Pontos de vinculação com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.

Nenhum slot de acoplamento declarado.

Lista de autorizações de autoinjeção

Nenhum canal de autoinjeção declarado.

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

Usa

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade