이 페이지는 기계 번역되었습니다. 영어 원문 읽기.

FeatureRecipe

prompt-deny-patterns-kong

Realizes core/prompt-deny-patterns on the gateway core/gateway/kong; a Release binds it in its Manifest. It emits no file: the KongModelRoutes bundle each of the gateway's Recipes imports reads the attachment and writes Kong 3.9.3's AI Prompt Guard onto the chat and completion routes of each model wired to the gateway's models socket. The guard reads the text of every message of every role across the whole conversation, joined into one string with a space after each message, so an expression can match across two of them, and a completion's prompt. A message whose content is not a single string, such as content in parts or a turn carrying only tool calls, refuses the whole request. Letter case counts unless an expression says otherwise, as (?i) does. A request any of deny_patterns matches is refused whatever allow_patterns says; with allow_patterns set, a request none of them matches is refused. A refused caller receives HTTP 400 with the message "bad request", which names no expression, and so does a request the guard cannot read, such as a body that outgrows Kong's 8 KiB request buffer and is set aside on disk, which the gateway refuses without the guard as well. The build does not check an expression: one Kong cannot compile answers the requests reaching it with HTTP 500. So it honours deny_patterns and allow_patterns, and halts on a list of more than 10 expressions or an expression over 500 bytes, on a second such attachment, with nothing wired to the models socket, and on any component other than core/gateway/kong. The gateway imports its routes into its database, which keeps the guard after the attachment is removed, until it is deleted through Kong's Admin API.

출처

공식이 카탈로그가 공식 게시자로 인정하는 서명 ID로 서명되었습니다.
콘텐츠 다이제스트
sha256:8de3132d9243fd51fcb51f1473f75ed5cb1cfe19b15d69eaa7798ca1c404f611
게시일
2026-11-10T10:15:59Z
서명 ID
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:39c8f6b0ae167559220ee00da0b79c2e3ada654980b5c91949cc5d6474a5d19a

이 버전의 참조

oci://hub.aggrega.ai/featurerecipe/helm/prompt-deny-patterns-kong:1.0.0
대상
—
구현 대상
core/prompt-deny-patterns:1.0.0

제공

이 레시피가 소비자를 위해 배선하는 결정적 포인터 템플릿입니다.

선언된 provides 템플릿이 없습니다.

Workload

선언된 워크로드 템플릿이 없습니다.

로컬 변수

선언된 로컬 변수가 없습니다.

값 매핑

선언된 값 매핑이 없습니다.

관계

게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.

사용함

사용됨

카탈로그에서 이 엔터티에 의존하는 것이 없습니다.

FeatureRecipe 개념 레퍼런스 →

Aggrega 카탈로그 — 컴포넌트, 기능, 레시피, 그리고 이를 렌더링하는 플러그인의 공개 인덱스입니다.

공유 Aggrega 디자인 시스템으로 구축되었습니다.

개인정보 보호