Spaces:
Sleeping
Sleeping
angelesteban00
commited on
Commit
•
af98e35
1
Parent(s):
ea89a3e
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from pymongo import MongoClient
|
2 |
-
from langchain.embeddings.openai import OpenAIEmbeddings
|
|
|
3 |
# error since Jan 2024, from langchain.vectorstores import MongoDBAtlasVectorSearch
|
4 |
from langchain_community.vectorstores import MongoDBAtlasVectorSearch
|
5 |
# 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_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
|