8 references to VectorDataStrings
Microsoft.Extensions.VectorData.Abstractions (8)
ProviderServices\CollectionModelBuilder.cs (6)
233
?? throw new InvalidOperationException(
VectorDataStrings
.MissingTypeOnPropertyDefinition(definitionProperty!));
437
throw new InvalidOperationException(
VectorDataStrings
.DifferentEmbeddingTypeSpecifiedForNativelySupportedType(vectorProperty, userRequestedEmbeddingType));
554
throw new InvalidOperationException(
VectorDataStrings
.UnsupportedVectorPropertyWithoutEmbeddingGenerator(vectorProperty));
563
?
VectorDataStrings
.ConfiguredEmbeddingTypeIsUnsupportedByTheGenerator(vectorProperty, userRequestedEmbeddingType)
564
:
VectorDataStrings
.ConfiguredEmbeddingTypeIsUnsupportedByTheProvider(vectorProperty, userRequestedEmbeddingType, supportedVectorTypes));
567
throw new InvalidOperationException(
VectorDataStrings
.IncompatibleEmbeddingGenerator(vectorProperty, vectorProperty.EmbeddingGenerator, supportedVectorTypes));
ProviderServices\VectorPropertyModel.cs (1)
192
VectorDataStrings
.IncompatibleEmbeddingGeneratorWasConfiguredForInputType(value?.GetType() ?? typeof(object), EmbeddingGenerator!.GetType())),
RecordDefinition\VectorStoreVectorProperty.cs (1)
100
=> new(Name, Type ?? throw new InvalidOperationException(
VectorDataStrings
.MissingTypeOnPropertyDefinition(this)))