Closed comsma closed 2 hours ago
https://python.langchain.com/docs/integrations/text_embedding/
Currently the code snippet for the hugging face model is
from langchain_huggingface import HuggingFaceEmbeddings embeddings = HuggingFaceEmbeddings(model="sentence-transformers/all-mpnet-base-v2")
The model param should be model_name instead as per the langchain_huggingface docs
model
model_name
No response
URL
https://python.langchain.com/docs/integrations/text_embedding/
Checklist
Issue with current documentation:
Currently the code snippet for the hugging face model is
The
model
param should bemodel_name
instead as per the langchain_huggingface docsIdea or request for content:
No response