Skip to content

parseMemoryExtractionResponse

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/autonomous/session-memory.ts

Parse the model's response into SessionMemory objects. Handles common response formats (raw JSON, markdown-wrapped JSON, etc.).

Signature

ts
function parseMemoryExtractionResponse(response: string): SessionMemory[]

Parameters

NameType
responsestring

Returns: SessionMemory[]

Was this page helpful?

Download as PDF