RAG-APP-LLM-CRIPTO-VASU / get_embedding_function.py
Victor2323's picture
Upload 9 files
7e0035d verified
raw
history blame contribute delete
209 Bytes
from langchain_community.embeddings.ollama import OllamaEmbeddings
def get_embedding_function():
embeddings = OllamaEmbeddings(model="mxbai-embed-large",
show_progress=True)
return embeddings