API Reference
agentRequestLedgerViews()
Creates an agent request ledger views.
Import
import { agentRequestLedgerViews } from "@graphrefly/ts/orchestration";
Signature
function agentRequestLedgerViews(
graph: Graph,
facts: Node<AgentRequestFact>,
opts: { readonly name?: string } = {},
): AgentRequestLedgerBundle
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
facts | Node<AgentRequestFact> | facts value used by the helper. |
opts | { readonly name?: string } | Options that configure the helper. |
Returns
The agent request ledger views result.
Example
import { agentRequestLedgerViews } from "@graphrefly/ts/orchestration";
Source
packages/ts/src/orchestration/agent-runtime-request-ledger.ts