Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

Recipe

model-invocation-knative

The model-invocation tool realized as a Knative Service the Knative Serving control plane reconciles. The recipe emits a single Service custom resource; the control plane turns it into a revision, admits an inbound call while that revision runs no replicas, and sets the replica count from the concurrency it observes, so the tool occupies no compute between the calls that invoke it. The replica floor and ceiling carry through as the revision's own scaling bounds. The model the tool calls arrives on the tool's model socket, and the recipe delivers that model's endpoint and model identifier — and its in-cluster host, port and protocol where the model publishes them — into the container alongside the developer's task type, so the running tool calls the model the topology resolved rather than one named in its own configuration. A connection writing an `inject:` block receives instead the names it dictates, as variables or as files from a ConfigMap emitted beside the Service. provides is the addressable name the control plane gives the Service. The Knative Serving control plane is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. The component's own `inject:` block delivers its entries as a connection's are, and one reading a value of the tool alone replaces that value's default name.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:f0f3a130a486eb969d6fab5cb68078d44d5541a8a8aab2ee82d346cd9e663a54
Dipublikasikan
2026-11-10T10:25:37Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • Resmiapplication/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:b25c2f0aa01b48976174d0f71e63bea2b02f16dac4554e8535e4bbcddfabd882

Referensi pada versi ini

oci://hub.aggrega.ai/recipe/helm/model-invocation-knative:1.0.0
Target
—
Mengimplementasikan
core/ai-tool/model-invocation:1.0.0

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

NamaTemplat
host{{ .context.instance_id }}
port80
endpointhttp://{{ .context.instance_id }}
protocolhttp

Workload

Tidak ada templat beban kerja yang dideklarasikan.

Nilai lokal

Tidak ada nilai lokal yang dideklarasikan.

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

  • mengimplementasikanmengimplementasikankontrak kompatibel

    core/ai-tool/model-invocation:1.0.0

    Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep Recipe →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi