Recipe
retrieval
The similarity-retrieval tool on Docker Compose: one service running the image the Release names in infra.image, listening on infra.port on the compose network, where an agent reaches it at the service's own name. Nothing is published to the host. The store the tool searches arrives on the tool's datastore socket, and its host, port and protocol reach the container as RETRIEVAL_TOOL_STORE_HOST, RETRIEVAL_TOOL_STORE_PORT and RETRIEVAL_TOOL_STORE_PROTOCOL beside the developer's match count, the names helm/retrieval-knative delivers them under; a connection writing an `inject:` block receives instead the names it dictates, as variables or as files from compose configs. It differs from the Knative realization in one way a reader must know: the service is one container that runs while the stack runs. Docker Compose has no autoscaler, so the tool does not scale to zero between calls and runs no second replica; an infra.min_replicas above one is refused by name, and infra.max_replicas, a ceiling one container never passes, is honoured as it stands. No control plane is involved, so infra.control_plane_present is not read. Reach for this realization under Docker Compose, and for helm/retrieval-knative on a Kubernetes cluster running Knative Serving. 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. An arg entry, or any other mechanism, is refused by name.
Procedência
- Digest do conteúdo
- sha256:2f0b7828ca2ab558d8c372292595c479bc7e1abbce9229b872580e81b41cafac
- Publicado
- 2026-11-15T08:09:27Z
- 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:dfeee537c3c3ad6431244ccd6ff009670fa4df8cb481318d85ca00432c95fff1
Referência nesta versão
oci://hub.aggrega.ai/recipe/compose/retrieval:1.0.0- Destino
- —
- Implementa
- core/ai-tool/retrieval:1.0.1
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
| Nome | Modelo |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.instance_id }}:{{ .infra.port }} |
| protocol | http |
Workload
Workload · form: stateless · containers: main
Variáveis locais
| Nome | Modelo |
|---|---|
| instance_id | {{ .context.instance_id }} |
| inject_file_config_prefix | {{ .context.instance_id }}-file- |
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é exibida como uma aresta quebrada em vez de um link.
Usa
- implementaimplementacontrato compatível
core/ai-tool/retrieval:1.0.1
Todas as saídas obrigatórias são atendidas e cada saída fornecida é nomeada no contrato.
Usado por
Nada no catálogo depende desta entidade.