Component
core/devtool/promptlayer
A hosted prompt registry, and the surface a team edits and versions its prompts on. A prompt is authored and versioned in the registry rather than in application source, each version carries a release label such as prod or staging, and an application fetches the prompt behind a label at run time over the platform's API — so moving a label to a new version changes what the application sends without a redeploy. The registry also keeps a log of the requests an application reports to it, which is how a prompt version and the behaviour it produced are read together. Nothing runs in the deployment for this component: the platform is operated by its publisher, and a deployment holds a contract and an API key rather than a process. Its realizations are therefore reference realizations, which emit only the wiring a consumer needs to reach the service and provision no compute. The base address is an operational value so it can be repointed — the platform's own client libraries read the same override — which is what lets a Release address a regional or self-managed installation without a consumer changing. Exports the base address and the release label to consumers via the uses topology, so a consuming component reads which registry to call and which label to ask for from one place rather than each of its own containers carrying a copy. The API key is not exported and is not held here: the environment-variable name a credential arrives under belongs to the consuming application, so a consumer that needs one declares the `credential` slot on the socket that reaches the registry and delivers it from its own container.
来歴
- コンテンツダイジェスト
- sha256:92a25049b151363681a42b74fee7280c2881ec9e50d5ed0701dbb2296733b5be
- 公開日
- 2026-11-10T10:11:33Z
- 署名 ID
- 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:dcbc1f7679e84c2a769fdc4ff867ac939ba785f5fbc96aa733556fbfc4c2f77a
このバージョンの参照
oci://hub.aggrega.ai/component/core/devtool/promptlayer:1.0.0開発者パラメーター
開発者が Aggregate で設定する値です。
| 名前 | 型 | デフォルト | 必須 | 説明 |
|---|---|---|---|---|
| prompt_label | string | prod | はい | Release label an application resolves a prompt through. The label names a moving pointer rather than a fixed version, and that is the point: promoting a new prompt version onto this label changes what the application sends with no change here and no redeploy. A deployment that must pin an exact version asks for it in its own call rather than through this value. |
運用担当者によるサイジング
運用担当者が環境ごとに調整するインフラストラクチャのサイジングです。
| 名前 | 型 | デフォルト | 必須 | 説明 |
|---|---|---|---|---|
| endpoint | string | https://api.promptlayer.com | いいえ | Base address of the registry's API. It defaults to the publisher's public address and is stated here rather than fixed in a Recipe so an operator may repoint it — at a regional address, at an installation the operator has contracted for, or at a proxy the deployment routes egress through. A deterministic pointer string the runtime resolves; the compiler never contacts it. |
出力コントラクト
このコンポーネントが uses トポロジを通じて利用側に公開する値です。
| 名前 | 型 | デフォルト | 必須 | 説明 |
|---|---|---|---|---|
| endpoint | string | — | はい | Base URL of the registry's API an application fetches its prompts from. The Release supplies it, so an operator may point it at a different host without the application changing. |
| prompt_label | string | — | はい | Release label an application resolves a prompt through, carried through from the label the Aggregate declared. Moving the label to another prompt version changes what the application sends without a redeploy. |
| protocol | string | — | いいえ | How the published address is spoken to — `https`, since the registry is reached across the public network. |
uses ソケット
このコンポーネントが接続に用いる依存関係ソケットです。ソケットを介して配線される各接続のターゲットは、そのソケットのラベルセレクターを満たす必要があり、各接続はソケットが宣言するスロットにアタッチメントを持つことができます。必須スロットは、Aggregate または Release がそのソケットを介して配線する各接続が満たす必要があります。
uses ソケットは宣言されていません。
アタッチメントスロット
Feature がこのコンポーネントにアタッチされる、名前付きのバインディングポイントです。スロットのセレクターはどの Feature がそのスロットを埋められるかを制約し、その inject リストは Feature のマテリアルをどのように配信できるかを示します。必須スロットは、インスタンス上のアタッチメント、またはその上位のスコープでのアタッチメントによって、すべてのインスタンスでバインドされている必要があります。また、機密スロットは秘密のマテリアルを扱うものとして宣言されます。Feature は、どのスロットも宣言していない名前でアタッチすることもできます。
アタッチメントスロットは宣言されていません。
自己注入の許可リスト
env
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
このエンティティはカタログ内の何も使用していません。
使用元
実装
実装