Skip to content

feat(types): align ConnectTo with embedded_by relation schema - #132

Merged
EricNGOntos merged 2 commits into
mainfrom
feat/wuchengke/connect-to-embedded-by
Oct 16, 2026
Merged

EricNGOntos merged 2 commits into
mainfrom
feat/wuchengke/connect-to-embedded-by

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • Extend ConnectTo.relation with embedded_by (plus reserved cross_doc_entity / intra_doc_ref).
  • Add targetDocumentId and position to match the API chunk relation schema.
  • Remove unused score / keywords fields that the API no longer emits.

Test plan

  • pnpm run typecheck
  • changeset present (release:check-changeset)
  • CI green on PR
  • Merge triggers Changesets Release package PR; merge that to publish @ontos-ai/knowhere-sdk

Made with Cursor

EricNGOntos and others added 2 commits October 16, 2026 10:35
Add embedded_by and reserved relation values, targetDocumentId, and
position. Remove unused score/keywords fields the API no longer emits.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@EricNGOntos
EricNGOntos merged commit 7f29218 into main Oct 16, 2026
4 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/connect-to-embedded-by branch October 16, 2026 02:40
@github-actions github-actions Bot mentioned this pull request Oct 16, 2026
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.

1 participant