dj86 commited on
Commit
cc6b261
1 Parent(s): bd801fd

Update vlog4chat.py

Browse files
Files changed (1) hide show
  1. vlog4chat.py +2 -1
vlog4chat.py CHANGED
@@ -26,7 +26,8 @@ from langchain.chains import ConversationalRetrievalChain
26
  from langchain_core.output_parsers import StrOutputParser
27
  from langchain.text_splitter import RecursiveCharacterTextSplitter
28
  from langchain.llms import HuggingFacePipeline
29
- from langchain.embeddings import HuggingFaceEmbeddings
 
30
  from langchain_community.document_loaders import TextLoader
31
  from langchain.document_loaders import UnstructuredFileLoader
32
  from langchain_community.vectorstores import FAISS
 
26
  from langchain_core.output_parsers import StrOutputParser
27
  from langchain.text_splitter import RecursiveCharacterTextSplitter
28
  from langchain.llms import HuggingFacePipeline
29
+ #from langchain.embeddings import HuggingFaceEmbeddings
30
+ from langchain_community.embeddings import HuggingFaceEmbeddings
31
  from langchain_community.document_loaders import TextLoader
32
  from langchain.document_loaders import UnstructuredFileLoader
33
  from langchain_community.vectorstores import FAISS