mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-08 03:08:21 +00:00
docs(api): note related memory ids in v5 search (#1767)
Docs for supermemoryai/mono#3418: related memories in search carry `id`.
This commit is contained in:
parent
3688ffc996
commit
10888a94bc
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ Legacy `include.chunks` has no v5 equivalent. Choose `chunks` or `hybrid` instea
|
|||
`include` is an object of booleans in the body, e.g. `"include": {"documents": true, "related": true}`. Each flag defaults to `false`.
|
||||
|
||||
- `include.documents` adds the most relevant source document to each result.
|
||||
- `include.related` adds parent, child, and sibling memories.
|
||||
- `include.related` adds parent, child, and sibling memories. Related memories come only from the same namespace and must match the request's `filter`, so they never surface content the search itself would exclude.
|
||||
- `include.forgotten` lets forgotten and expired memories appear in results, including as primary results.
|
||||
- `rerank` accepts `none`, `order`, or `aggregate`; `rewriteQuery` controls retrieval-oriented query rewriting.
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ Legacy `include.chunks` has no v5 equivalent. Choose `chunks` or `hybrid` instea
|
|||
| Result array | `results` |
|
||||
| Timing | `searchTime` |
|
||||
| Source expansion | `result.included.document`, with timestamps under its `system` |
|
||||
| Related context | `result.included.related.{parents,children,siblings}` |
|
||||
| Related context | `result.included.related.{parents,children,siblings}`, each with its memory `id` |
|
||||
| Lifecycle fields | `result.system` |
|
||||
| Version and inference flags | `result.isLatest`, `result.isInference` |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue