π§¬Embeddings
What is Embedding?
1. Hugging Face Embeddings
pip install llama-index-embeddings-huggingfacefrom beyondllm.embeddings import HuggingFaceEmbeddings
embed_model = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
text_embeddings = embed_model.embed_text("Huggingface models are awesome!")2. OpenAI Embeddings
3. Qdrant Fast Embeddings
4. Azure AI Embeddings
4. Gemini Embeddings
Parameters:
Code Example:
Choosing the Right Embedding Model
Last updated