ZKnowledgeAgent / app /services /embedding_service.py
mghfuran's picture
deploy: initial clean deployment with lfs tracked database
c1afa55
Raw
History Blame Contribute Delete
184 Bytes
from langchain_huggingface import HuggingFaceEmbeddings
def get_embedding_model():
return HuggingFaceEmbeddings(
model_name="sentence-transformers/all-MiniLM-L6-v2"
)