Эта страница переведена автоматически. Читать английский оригинал.

ArtifactLibrary

KongModelRoutes

The routes a Kong gateway serves for the models wired to it, written as Kong's own declarative configuration, as one bundle every Recipe running that gateway imports, so the configuration and the rules it is written by live here once. ModelRoutes writes, for each connection on the importing Component's models socket, a service named model-<alias> addressed at the endpoint the model publishes, with a chat route at /<alias>/v1/chat/completions and a completion route at /<alias>/v1/completions, each through Kong's request transformer and AI proxy. A connection carrying a credential has its routes present it as a bearer token read through Kong's environment vault, which names the variable and never the value. With nothing wired to the models socket it writes nothing. The importing Recipe picks the delivery with the local model_routes_delivery — config_map, one ConfigMap for a Kubernetes target, or compose_configs, one compose config — and declares as locals the names and the variable parts it shares with the bundle, which stops the build when one is missing or differs. The bundle is authored against Kong 3.9.3. On the open-source edition it writes Kong's AI Prompt Guard on every route while the importing component carries core/prompt-deny-patterns. A Recipe running Kong Gateway Enterprise declares model_routes_edition: enterprise, and the bundle then writes what the importing component's core/fallback-chain, core/period-budget and core/data-masking attachments ask for: AI Proxy Advanced on a chained alias's routes, AI Rate Limiting Advanced for the whole gateway or on each wired model's service, and the AI PII Sanitizer on each wired model's routes.

Происхождение

ОфициальныйПодписано идентичностью подписи, которую этот каталог признаёт официальным издателем.
Дайджест содержимого
sha256:7d26466cddb79038e9b4c81d7a536f85fa91801fd6824f1b636e9ec60b502145
Опубликовано
2026-11-10T10:06: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:d415b6eae2bd0d3836abaefbdf5a3c7d95f8d639b105073e45815ca6bc6dabe1

Ссылка на эту версию

oci://hub.aggrega.ai/artifactlibrary/kongmodelroutes:1.0.0

Связи

Эта сущность не ссылается ни на одну другую опубликованную сущность, и ни одна из них не ссылается на неё.

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

Создано на общей дизайн-системе Aggrega.

Конфиденциальность