2 overrides of IsVectorPropertyTypeValid
Microsoft.Extensions.VectorData.Abstractions.Tests (2)
CollectionModelBuilderTests.cs (2)
402
protected override bool
IsVectorPropertyTypeValid
(Type type, [NotNullWhen(false)] out string supportedTypes)
560
protected override bool
IsVectorPropertyTypeValid
(Type type, [NotNullWhen(false)] out string? supportedTypes)
4 references to IsVectorPropertyTypeValid
Microsoft.Extensions.VectorData.Abstractions (4)
ProviderServices\CollectionModelBuilder.cs (4)
433
if (
IsVectorPropertyTypeValid
(vectorProperty.Type, out _))
547
if (
IsVectorPropertyTypeValid
(vectorProperty.Type, out string? supportedVectorTypes))
562
throw new InvalidOperationException(
IsVectorPropertyTypeValid
(userRequestedEmbeddingType, out _)
570
if (!
IsVectorPropertyTypeValid
(vectorProperty.EmbeddingType, out string? supportedVectorTypes2))