You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error, "Reading as 'System.Object' is not supported for fields having DataTypeName 'public.vector'", likely indicates that your database provider lacks built-in support for directly mapping the PostgreSQL 'vector' data type to a C# data structure. This error is occurring in the following code snippet:
publicclassProduct{publicGuidId{get;set;}publicstring?Name{get;set;}publicstring?Description{get;set;}[JsonIgnore]publicVector?Embedding{get;set;}}IReadRepository<Product>repository;// Assuming a repository patternvarproducts=await repository.ListAsync(cancellationToken);// Error likely occurs here
The text was updated successfully, but these errors were encountered:
This error, "Reading as 'System.Object' is not supported for fields having DataTypeName 'public.vector'", likely indicates that your database provider lacks built-in support for directly mapping the PostgreSQL 'vector' data type to a C# data structure. This error is occurring in the following code snippet:
The text was updated successfully, but these errors were encountered: