Skip to content

docs(ingest): declare people by your own id to keep namesakes apart (ENG-5650) - #412

Merged
SohamRatnaparkhi merged 3 commits into
mainfrom
soham/eng-5650-declared-people-docs
Dec 4, 2026
Merged

SohamRatnaparkhi merged 3 commits into
mainfrom
soham/eng-5650-declared-people-docs

Conversation

@SohamRatnaparkhi

@SohamRatnaparkhi SohamRatnaparkhi commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Why

Two different people with the same name become one entity when HydraDB builds the graph from text. ENG-5650 lets a source declare the people it mentions with the caller's own IDs. This documents it so customers can use it.

Merge this only after hydradb-application #4561 is live in production. #4558 (already live) accepts the declaration as people; #4561 makes the key entities, which is what this page documents.

What

One new section in the Context guide, "7. Keep people who share a name apart":

  • The additional_metadata.entities shape, and where it goes: a document_metadata item for a file, an app_knowledge item, or a memory.
  • A cURL example with one file and one app source.
  • The entities.id filter.
  • Rules: id, name, limits (50 people, the 1 KiB additional_metadata cap), errors, how to change the people, and sources already ingested.
  • A pointer to "Key entities by your own ID" for callers who send graph_payload.

Tested

Every request shape and rule in the section was run against staging on 2026-12-04, and again on production after #4558, under the earlier key name people. The entities key will be re-run on production once #4561 is live.

  • Ten statements that say "Daniel" for three different contacts. Without people they became one person. With people they became three, and all 15 Daniel mentions landed on the declared contact.
  • The same sentence under two different IDs gave two people.
  • The people.id filter returned exactly the declaring sources, in fast and thinking mode.
  • The cURL example in the section returned 202.
  • Missing id, one ID under two names, and 51 people each returned 400. PATCH /context/{id}/metadata refused a people change.

🤖 Generated with Claude Code

@mintlify

mintlify Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
cortex-ai 🟢 Ready View Preview Dec 4, 2026, 1:15 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

✅ Mintlify Hygiene

No issues found.

prathamgarg911
prathamgarg911 previously approved these changes Dec 4, 2026
abhishekt-hydra
abhishekt-hydra previously approved these changes Dec 4, 2026
SohamRatnaparkhi and others added 2 commits December 4, 2026 18:41
…ENG-5650)

Adds a section to the Context guide for additional_metadata.people on
files, app sources and memories, with the people.id filter, the limits
and the errors.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: SohamRatnaparkhi <[email protected]>
… (ENG-5650)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: SohamRatnaparkhi <[email protected]>
…valid JSON (ENG-5650)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: SohamRatnaparkhi <[email protected]>
@SohamRatnaparkhi
SohamRatnaparkhi merged commit efa6f55 into main Dec 4, 2026
8 checks passed
@SohamRatnaparkhi
SohamRatnaparkhi deleted the soham/eng-5650-declared-people-docs branch December 4, 2026 13:41

This branch was successfully deployed

1 active deployment
staging — 44d8ff65 Deployed Dec 4, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants