Skip to content

[pull] main from supermemoryai:main#248

Merged
pull[bot] merged 1 commit into
code:mainfrom
supermemoryai:main
Mar 19, 2026
Merged

[pull] main from supermemoryai:main#248
pull[bot] merged 1 commit into
code:mainfrom
supermemoryai:main

Conversation

@pull

@pull pull Bot commented Mar 19, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…templates (#787)

Expose raw search results in `MemoryPromptData` so prompt templates can traverse, filter, and selectively include results based on metadata (e.g. score, source).

##### Usage example

```typescript
const promptTemplate = (data: MemoryPromptData) => {
  const relevant = data.searchResults.filter(
    (r) => (r.metadata?.score as number) > 0.7
  )
  return `${data.userMemories}\n${relevant.map(r => r.memory).join('\n')}`
}
```
@pull pull Bot locked and limited conversation to collaborators Mar 19, 2026
@pull pull Bot added the ⤵️ pull label Mar 19, 2026
@pull pull Bot merged commit a00a751 into code:main Mar 19, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant