Closed as not planned
Description
The following code causes an exception:
→ new VectorStoreRecordVectorProperty("DescriptionEmbedding", typeof(float)) { Dimensions = 4, DistanceFunction = DistanceFunction.CosineDistance, IndexKind = IndexKind.Hnsw },
The embedding is an array, but alternative types also fail:
typeof(float[]) → exception
typeof(List) → exception
typeof(ReadOnlyMemory) → works
The type constraint seems too strict. It should support float[], List, IEnumerable, etc.
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog