-
Couldn't load subscription status.
- Fork 64
[WIP] example: add python examples #1190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Reviewer's GuideThis PR migrates working Python example scripts for HNSW, HGraph, and brute-force indices into the main examples directory with full create/build/search demos, cleans up the legacy todo_examples placeholders, and applies a minor formatting fix to the diskann example license header. Sequence diagram for index creation, build, and search in Python examplessequenceDiagram
actor User
participant Script
participant pyvsag
User->>Script: Run example script
Script->>pyvsag: Create Index (type, params)
Script->>pyvsag: Build Index (vectors, ids, num_elements, dim)
Script->>pyvsag: knn_search(vector, k, parameters)
pyvsag-->>Script: Return result_ids, result_dists
Script->>User: Print results
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #1190 +/- ##
==========================================
- Coverage 91.88% 91.82% -0.06%
==========================================
Files 312 312
Lines 18682 18682
==========================================
- Hits 17166 17155 -11
- Misses 1516 1527 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Signed-off-by: LHT129 <[email protected]>
Summary by Sourcery
Add standalone Python example scripts for HNSW, HGraph, and brute-force indexes and remove the old placeholder examples.
New Features:
Chores: