Class SupportedEmbedingModels
- Namespace
- GenerativeAI
- Assembly
- GenerativeAI.dll
Provides a centralized collection of supported embedding model identifiers for use in the GenerativeAI namespace.
public static class SupportedEmbedingModels
- Inheritance
-
SupportedEmbedingModels
- Inherited Members
Examples
Attempting to use a model for embedding that is not included in SupportedEmbedingModels will result in a NotSupportedException. This ensures only verified and compatible models are used for embeddings.
Remarks
SupportedEmbedingModels contains a static list of embedding model identifiers which are utilized in the embedding-related functionalities of the GenerativeAI library. These identifiers are sourced from different model providers, including Google AI Models and Vertex AI Models.
Fields
All
Represents a collection of supported embedding model identifiers.
public static readonly List<string> All
Field Value
Remarks
This list includes model identifiers from multiple sources, such as GoogleAIModels and VertexAIModels.Embeddings, which are used for text and multimodal embeddings. Some of the models included may have been deprecated or superseded by newer versions. Refer to the individual model source documentation for additional details.