Spaces:
Sleeping
Sleeping
angelesteban00
commited on
Commit
•
bc5f544
1
Parent(s):
e379c49
Update app.py
Browse files
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
|
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 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
|