GraphReFlyTS

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

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
factsNode<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