本頁面由機器翻譯。閱讀英文原文。

Recipe

search

The managed web-search API as a reference realization for local development with Docker Compose: no service is defined for it and nothing is provisioned, because the search API runs outside the composition. What a consumer needs is the base address, the provider whose dialect it speaks and how many results to ask for, and those reach the consuming service through the injection context rather than through a service definition — compose has no counterpart to an in-cluster alias, so the address travels to the caller instead of being aliased for it. This recipe pins no artifact. It names no image — the deployment calls a service its own operator contracts for directly. No credential is delivered here: a consumer that needs the search API's key declares the `credential` slot on the socket that reaches the search API and delivers it from its own container, because the environment-variable name a credential arrives under belongs to the consumer rather than to the endpoint.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:5fe204ed364417107968e72a4f40260b83ce6327275a076057d541ee228ef1e8
發布時間
2026-11-10T10:20:50Z
簽署身分
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:ac1f14a914a42827f16bd711de8a4aabcba06578db5b7fa989d21e620a93f496

此版本的參照

oci://hub.aggrega.ai/recipe/compose/search:1.0.0
目標
—
實作
core/ai-tool/search:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
endpoint{{ .infra.endpoint }}
provider{{ .values.provider }}
max_results{{ .values.max_results }}

Workload

Workload · form: reference

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/ai-tool/search:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權