Цю сторінку перекладено машинно. Читати англійський оригінал.

FeatureRecipe

prompt-deny-patterns-apisix

Realizes core/prompt-deny-patterns on the gateway core/gateway/apisix; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, apisix-chart, reads the attachment and writes APISIX 3.18.0's ai-prompt-guard onto the chat route of each model wired to the gateway's models socket, and writes no completion route, since the guard reads no completion request. The guard reads the text of every message, whatever its role, across the whole conversation, joined into one string with a space between messages, so an expression can match across two of them; images and tool-call arguments are not read. Letter case counts unless an expression says otherwise, as (?i) does. With allow_patterns set, a request none of them matches is refused with HTTP 400, "Request doesn't match allow patterns"; then a request any of deny_patterns matches is refused with HTTP 400, "Request contains prohibited content", which names no expression. A request the guard cannot read as a model request is refused with HTTP 400 rather than forwarded unchecked, and one carrying no message text at all is answered with an empty HTTP 200 and not forwarded. The build does not check an expression: one APISIX cannot compile drops every route it is written on when the gateway reads the file, and those answer HTTP 404. So it honours deny_patterns and allow_patterns, and halts with nothing wired to the models socket, on a second such attachment, and on any component other than core/gateway/apisix.

Походження

ОфіційнийПідписано ідентичністю підписувача, яку цей каталог визнає офіційним видавцем.
Дайджест вмісту
sha256:e72d0f7e6dc0d50a24f172011261d7bab78a5ca23bc70cd2191d1448b783dd75
Опубліковано
2026-11-10T10:15:55Z
Ідентичність підписувача
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:b6e6995e70ac3e99413a9b009afc8c2ce4b4c79c9f223792f95c39983d6d7549

Посилання на цю версію

oci://hub.aggrega.ai/featurerecipe/helm/prompt-deny-patterns-apisix:1.0.0
Ціль
—
Реалізує
core/prompt-deny-patterns:1.0.0

Надає

Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.

Шаблонів provides не оголошено.

Workload

Шаблон робочого навантаження не оголошено.

Локальні значення

Локальних значень не оголошено.

Відображення значень

Відображення значень не оголошено.

Зв’язки

Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.

Використовує

Використовується в

Ніщо в каталозі не залежить від цієї сутності.

Довідка про поняття FeatureRecipe →

Каталог Aggrega — відкритий індекс компонентів, функцій, рецептів і плагінів, які їх рендерять.

Створено на основі спільної дизайн-системи Aggrega.

Конфіденційність