Skip to content

docs(vec0): make the metadata search example runnable - #369

Open
definitelynotguru wants to merge 1 commit into
asg017:mainfrom
definitelynotguru:devin/1795186702-vec0-metadata-example
Open

definitelynotguru wants to merge 1 commit into
asg017:mainfrom
definitelynotguru:devin/1795186702-vec0-metadata-example

Conversation

@definitelynotguru

Copy link
Copy Markdown

Why

The vec_movies metadata example cannot be run as written: '[...]' is not valid vector JSON, and there are no example rows.

What changed

Use three two-dimensional vectors to show that the metadata filter excludes the closest vector. Delete the first match and rerun the same query to see the next match.

Scope

Documentation only; no runtime changes.

Verification

Built the extension and ran the published SQL end to end: the result changes from (2, 1.0) to (3, 2.0) after deletion. make site-build passed on Node.js 22.

AI assistance: Devin drafted and verified the documentation change.

This branch has not been deployed

No deployments
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