Kind: Function
Source: atloria-monorepo/libs/agent-core/src/autonomous/session-memory.ts
Build a prompt for a summarizer model to extract session memories.
This is designed to be sent to a model call. Domain layers can either:
- Call their model provider directly with this prompt
- Use a sub-agent with this as the task
Returns null if the session is too short to extract from.
Signature
tsfunction buildMemoryExtractionPrompt(ctx: SessionContext): string | null
Parameters
| Name | Type |
|---|---|
ctx | SessionContext |
Returns: string | null
Was this page helpful?