Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

FeatureRecipe

prompt-deny-patterns-traefik-hub

Realizes core/prompt-deny-patterns on the gateway core/gateway/traefik-hub; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, traefik-hub-chart, reads the attachment and writes a Content Guard of Traefik Hub's AI gateway onto the route of each model wired to the gateway's models socket. The guard's regular-expression engine reads each request as a chat completion and refuses one that any of deny_patterns matches, with HTTP 403 and a plain-text body, before the request is forwarded. Expressions use Go's RE2 syntax, which has no lookahead and no backreference; letter case counts unless an expression says otherwise, as (?i) does, and an expression matches anywhere in the text. Which fields of a chat request the guard reads is not stated in Traefik's reference. The build does not check an expression: one the gateway cannot compile keeps the guard from starting. The guard reads requests only, so a streamed reply passes as it streams. So it honours deny_patterns, and several attachments, each its own guard. It refuses allow_patterns by name, since the guard refuses on a match and admits nothing by one, and halts with nothing wired to the models socket and on any component other than core/gateway/traefik-hub. That the gateway enforces the guard is not observed by any build.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:4b98ce6efe8d07aa8d4a58881f7964f438bd092b78e5b11301ce95d33af2ff4e
Đã xuất bản
2026-11-10T10:15:59Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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:6f517bb0b443c3b61f070869f8fc923b4c60720cf8f907658f6cc55fcfcdaf61

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/featurerecipe/helm/prompt-deny-patterns-traefik-hub:1.0.0
Đích
—
Triển khai
core/prompt-deny-patterns:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm FeatureRecipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư