Skip to content

Vector Index: FreshVamana#260

Merged
akade merged 13 commits intomainfrom
feature/vector-index-freshvamana
Nov 14, 2025
Merged

Vector Index: FreshVamana#260
akade merged 13 commits intomainfrom
feature/vector-index-freshvamana

Conversation

@akade
Copy link
Owner

@akade akade commented Nov 2, 2025

Adds support for approximate nearest neighbor search for high dimensional data based on FreshVamana

@akade akade requested a review from Copilot November 2, 2025 14:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a vector index feature using FreshVamana algorithm for approximate nearest neighbor (ANN) searches on .NET 9.0+. The implementation adds support for semantic/vector search capabilities with ReadOnlySpan embeddings.

Key changes:

  • Implements FreshVamana algorithm for approximate nearest neighbor search
  • Adds vector index support with NET9_0_OR_GREATER compiler directives
  • Provides semantic search functionality for embedding-based queries

Reviewed Changes

Copilot reviewed 24 out of 28 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
Akade.IndexedSet/Indices/VectorIndex.cs New vector index implementation using FreshVamana graph
Akade.IndexedSet/DataStructures/FreshVamana/*.cs Core FreshVamana algorithm implementation with graph, settings, and node classes
Akade.IndexedSet/IndexedSetBuilder.cs Added WithVectorIndex method and spelling corrections
Akade.IndexedSet/IndexedSet.cs Added ApproximateNearestNeighbors method with NET9+ constraints
SourceGenerator/*/ConcurrentSetSourceGenerator.cs Enhanced to handle NET version compiler directives
Akade.IndexedSet.Tests/Samples/Search/SemanticSearch.cs Sample implementation using semantic search with embeddings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akade akade requested a review from Copilot November 13, 2025 17:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 27 out of 31 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akade akade requested a review from Copilot November 13, 2025 20:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 27 out of 31 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akade akade merged commit 1123ff2 into main Nov 14, 2025
3 of 4 checks passed
@akade akade deleted the feature/vector-index-freshvamana branch November 14, 2025 19:35
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.

2 participants