このページは機械翻訳されています。英語の原文を読む。

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.

来歴

公式このカタログが公式の公開者として認めている署名 ID によって署名されています。
コンテンツダイジェスト
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 を拡張

名前型デフォルト必須説明
schemaobject (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.
invertbooleanfalseいいえ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.

出力コントラクト

この機能が利用側に公開する値です。

出力値は宣言されていません。

アノテーション

アノテーションは宣言されていません。

関係

他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。

Feature の概念リファレンス →

Aggrega カタログ — コンポーネント、機能、レシピ、およびそれらをレンダリングするプラグインのオープンなインデックスです。

共有の Aggrega デザインシステムで構築されています。

プライバシー