Feature
core/response-validation
Checks a model's reply passing through an AI gateway against a JSON Schema before the reply reaches the caller, so an application expecting structured output is not left parsing whatever came back. schema carries the schema itself, written as a mapping, and a reply that does not match it is refused rather than passed on. invert turns the check around and refuses a reply that does match. The schema is the attachment's, the same for every request the gateway serves. Checking a reply against a schema the caller sends with its own request is a different control, and not this one. The developer attaches it in the Aggregate, writing schema and invert in values; it takes no infra. No gateway in the standard library realizes it: an attachment halts the build, naming why on core/gateway/agentgateway, core/gateway/higress and core/gateway/traefik-hub and naming the type on any other gateway, and renders nothing.
출처
- 콘텐츠 다이제스트
- sha256:0782fd5f734bff3d5d2ca90f1d7a417fae4c87a89267ca14c69e8111fea4b5dc
- 게시일
- 2026-11-10T10:17:23Z
- 서명 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:c3062ebf48d1bcc620f48d1b5408cebf2aa69dacf5a07926a5b3e73f6071a75a
이 버전의 참조
oci://hub.aggrega.ai/feature/core/response-validation:1.0.0- 적용 대상
- gateway.aggrega.ai/intelligence=semantic
- 충돌 대상
- —
개발자 매개변수
이 기능을 첨부할 때 개발자가 설정하는 값입니다.
BaseComponents#/schemas/BaseFeatureParameter 확장
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| schema | object (open) | — | 예 | The JSON Schema a reply must match, written as a mapping. A reply that does not match it is refused before it reaches the caller. |
| invert | boolean | false | 아니요 | Whether the check is turned around. Off, the default, a reply that does not match schema is refused. On, a reply that matches schema is refused, and one that does not is passed on. |
출력 계약
이 기능이 소비자에게 게시하는 값입니다.
선언된 출력 값이 없습니다.
어노테이션
선언된 어노테이션이 없습니다.
관계
게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.
사용함
- 적용 대상적용 대상
gateway.aggrega.ai/intelligence=semantic
core/gateway/agentgateway v1.0.0 →core/gateway/apisix v1.0.0 →core/gateway/azure-api-management v1.0.0 →core/gateway/cloudflare-ai-gateway v1.0.0 →core/gateway/envoy-gateway v1.0.0 →core/gateway/higress v1.0.0 →core/gateway/kong-enterprise v1.0.0 →core/gateway/litellm v1.0.0 →core/gateway/traefik-hub v1.0.0 → - $ref스키마 확장 (values)
BaseComponents#/schemas/BaseFeatureParameter
사용됨
구현
구현
구현