Skip to content
PACKAGES

agenticMemoryCommittedRecordMaterialFact()

Build a canonical D589 record-material committed fact.

import { agenticMemoryCommittedRecordMaterialFact } from "@graphrefly/ts/solutions";
function agenticMemoryCommittedRecordMaterialFact(
record: AgenticMemoryRecord<TJson>,
opts: {
readonly operation?: "create" | "replace" | "update";
readonly targetRecordId?: FactId;
readonly sourceRefs?: readonly AgenticMemoryFactRef[];
readonly correlationId?: string;
readonly causationId?: string;
readonly scope?: readonly string[];
} = {},
): AgenticMemoryCommittedFact<TJson>
ParameterTypeDescription
recordAgenticMemoryRecord<TJson>AgenticMemory record DATA to canonicalize as record material.
opts{ readonly operation?: "create" | "replace" | "update"; readonly targetRecordId?: FactId; readonly sourceRefs?: readonly AgenticMemoryFactRef[]; readonly correlationId?: string; readonly causationId?: string; readonly scope?: readonly string[]; }Optional operation/source/correlation coordinates.

A committed record-material fact.

This page was generated from source JSDoc, but the structured API tags are incomplete:

  • Missing @example.

packages/ts/src/solutions/agentic-memory/committed-fact-log.ts