-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
None
-
None
-
Dotnet Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Vector search is now supported in EF10 and we should see if we can support it. The API uses Where with EF.Functions.VectorDistance, e.g.
var topSimilarBlogs = context.Blogs
.OrderBy(b => EF.Functions.VectorDistance("cosine", b.Embedding, sqlVector))
Additionally both the fluent APIs:
- IsVectorProperty()
- IsVectorIndex()
Can be used in defining the model.
https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-10.0/whatsnew