angelesteban00 commited on
Commit
bd3d055
1 Parent(s): bc5f544

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from pymongo import MongoClient
2
  # error since Jan 2024, from langchain.embeddings.openai import OpenAIEmbeddings
3
- from langchain_community.embeddings import OpenAIEmbeddings
4
  # error since Jan 2024, from langchain.vectorstores import MongoDBAtlasVectorSearch
5
  from langchain_community.vectorstores import MongoDBAtlasVectorSearch
6
  # error since Jan 2024, from langchain.document_loaders import DirectoryLoader
 
1
  from pymongo import MongoClient
2
  # error since Jan 2024, from langchain.embeddings.openai import OpenAIEmbeddings
3
+ from langchain_community.embeddings.openai import OpenAIEmbeddings
4
  # error since Jan 2024, from langchain.vectorstores import MongoDBAtlasVectorSearch
5
  from langchain_community.vectorstores import MongoDBAtlasVectorSearch
6
  # error since Jan 2024, from langchain.document_loaders import DirectoryLoader