Embedding
EmbeddingFactory Class Documentation
Last updated
EmbeddingFactory Class Documentation
Last updated
The EmbeddingFactory
class returns an Langchian's Embeddings
class according to the specified embedding type. This class simplifies the process of creating an embedding instance. It provides common embeddings used by RAG workflows.
You can use and Embeddings
in Langchain. You don't have to use EmbeddingFactory
. But, with EmbeddingFactory
you can easily get below embedding models.
Model Name | embed_type |
---|---|
You can put embed_type
string of model that you want to use when initialize EmbeddingFactory
.
openai
contriever
multilingual_e5
ko_sroberta_multitask
kosimcse