Esta página foi traduzida automaticamente. Ler o original em inglês.

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.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:7d26466cddb79038e9b4c81d7a536f85fa91801fd6824f1b636e9ec60b502145
Publicado
2026-11-10T10:06:55Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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

Referência nesta versão

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

Relações

Esta entidade não faz referência a nenhuma outra entidade publicada, nem é referenciada por nenhuma.

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade