Spaces:
Sleeping
Sleeping
gizemsarsinlar
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
from langchain.document_transformers import LongContextReorder
|
2 |
from langchain_core.runnables import RunnableLambda
|
3 |
from langchain_core.runnables.passthrough import RunnableAssign
|
4 |
from langchain_nvidia_ai_endpoints import ChatNVIDIA, NVIDIAEmbeddings
|
@@ -17,7 +16,9 @@ from langchain_nvidia_ai_endpoints import ChatNVIDIA, NVIDIAEmbeddings
|
|
17 |
|
18 |
from langchain_community.vectorstores import FAISS
|
19 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
20 |
-
from
|
|
|
|
|
21 |
|
22 |
import os
|
23 |
|
|
|
|
|
1 |
from langchain_core.runnables import RunnableLambda
|
2 |
from langchain_core.runnables.passthrough import RunnableAssign
|
3 |
from langchain_nvidia_ai_endpoints import ChatNVIDIA, NVIDIAEmbeddings
|
|
|
16 |
|
17 |
from langchain_community.vectorstores import FAISS
|
18 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
19 |
+
from langchain_community.document_loaders import ArxivLoader
|
20 |
+
from langchain_community.document_transformers import LongContextReorder
|
21 |
+
|
22 |
|
23 |
import os
|
24 |
|