Repository navigation
Rebuild EF Core pgvector hybrid search sample - #28
Merged
balajibashyam merged 3 commits intoOct 1, 2026
Merged
Conversation
balajibashyam
deleted the
feature/hybrid-search-ef-core-pgvector-rebuild
branch
October 1, 2026 15:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the existing minimal RRF-only Hybrid Search companion with the verified
.NET 10 implementation for
Hybrid Search in .NET with EF Core 10 and pgvector: Fuse Keyword + Vector Retrieval.
The existing GitHub path is preserved:
dotnet-ai/hybrid-search-ef-core-pgvector/What's included
Rebuilt sample
tsvectorvector(768)vector_cosine_opsMicrosoft.Extensions.AI.IEmbeddingGeneratornomic-embed-textdefault pathVerification
net10.0nomic-embed-textlive verification completedvector_cosine_opsverifiedRoot README
GitHub Actions
build-hybrid-searchjob updated forHybridSearch.slnxPackage baseline
Microsoft.EntityFrameworkCore10.0.12Microsoft.EntityFrameworkCore.Design10.0.12Microsoft.EntityFrameworkCore.Relational10.0.12Npgsql.EntityFrameworkCore.PostgreSQL10.0.3Pgvector.EntityFrameworkCore0.3.0Microsoft.Extensions.AI10.10.0Microsoft.Extensions.AI.OpenAI10.10.1Azure.AI.OpenAI2.1.0OllamaSharp5.5.0Evidence boundary
The local live publication path used:
nomic-embed-textOpenAI and Azure OpenAI adapter examples are compile/construction verified only.
No live cloud embedding request is claimed.
Deliberately omitted
/api/askDatabase boundary
EnsureCreatedAsyncis retained for reproducible clean tutorial databases.Production applications should use deliberate schema migration/deployment practices.
Independence
This is an independent educational sample and is not an official Microsoft,
PostgreSQL, pgvector, OpenAI, Azure, or Ollama sample or specification.