EmbeddingGenerator
Last updated
Last updated
EmbeddingGenerator\OpenAI
Explanation of Embedding
An "embedding" is a vector representation of text that captures semantic meanings of the words or phrases. These vectors are generated by deep learning models and can be used in machine learning applications to compare texts, search for similar content, or feed into other machine learning models for tasks like classification or clustering. Each component of the vector represents a dimension of the text's meaning, allowing the model to understand and process text similarly to how humans do but in a numerical form.
Usage of EmbeddingGenerator\OpenAI This section covers the different classes available for generating embeddings using OpenAI models. Below is a table summarizing the key details of each available class.
Class | Model | Embedding size |
---|---|---|
Source: https://platform.openai.com/docs/guides/embeddings
Using the right class to pick one of the models:
OpenAIADA002EmbeddingGenerator
text-embedding-ada-002
1536
OpenAI3SmallEmbeddingGenerator
text-embedding-3-small
1536
OpenAI3LargeEmbeddingGenerator
text-embedding-3-large
3072