Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ntjohnson1
Copy link
Member

Related

Our vector search on the cloud is broken because we aren't adding the entry id to the header.
https://rerunio.slack.com/archives/C07T0LFT5BQ/p1758117346508129?thread_ts=1758115910.966309&cid=C07T0LFT5BQ

What

Adds an entry id to the header.

Repro to confirm the fix:

  • Enable cloud credentials
client = rr.catalog.CatalogClient(CATALOG_URL)
dataset = client.get_dataset_entry(name=DATASET)

import numpy as np
embedding_column = rr.dataframe.ComponentColumnSelector("/camera/wrist/embedding", "embeddings")
search_results = dataset.search_vector(np.zeros((768,)), embedding_column, top_k=1000).df()
print(f"Found {search_results.count()} with similar images")
search_results

@ntjohnson1 ntjohnson1 added include in changelog dataplatform Rerun Data Platform integration consider-patch PRs & issues that should be considered to be cherry-picked to a patch release branch. labels Sep 17, 2025
Copy link

github-actions bot commented Sep 17, 2025

Web viewer built successfully.

Result Commit Link Manifest
e30acad https://rerun.io/viewer/pr/11259 +nightly +main

Note: This comment is updated whenever you push a commit.

@ntjohnson1 ntjohnson1 added the 🪳 bug Something isn't working label Sep 17, 2025
@ntjohnson1 ntjohnson1 changed the title Add entry id to resolve api update Add entry id to resolve api update (Fix Vector Search) Sep 17, 2025
@Wumpf Wumpf merged commit e28751c into main Sep 17, 2025
41 checks passed
@Wumpf Wumpf deleted the nick/fix_vector_search branch September 17, 2025 16:46
@Wumpf Wumpf added the 🦟 regression A thing that used to work in an earlier release label Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working consider-patch PRs & issues that should be considered to be cherry-picked to a patch release branch. dataplatform Rerun Data Platform integration include in changelog 🦟 regression A thing that used to work in an earlier release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants