Recipe
retrieval-knative
The similarity-retrieval 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 store the tool searches arrives on the tool's datastore socket, and the recipe delivers that store's host, port and protocol into the container alongside the developer's match count, so the running tool addresses the store 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.
版本
来源
- 内容摘要
- sha256:9228ec6227cbe4675e22a622af25dd9f61dacdd01d98a52f4a018ec00af78e3d
- 发布时间
- 2026-11-10T10:26:57Z
- 签名身份
- 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:c4a7d7525f5bd4a99274efa8803546abfaae9396a60cd2cc43aba7b0ffa232a4
此版本的引用
oci://hub.aggrega.ai/recipe/helm/retrieval-knative:1.0.0- 目标
- —
- 实现
- core/ai-tool/retrieval:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ .context.instance_id }} |
| port | 80 |
| endpoint | http://{{ .context.instance_id }} |
| protocol | http |
Workload
未声明工作负载模板。
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/ai-tool/retrieval:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。