angry-meow
commited on
Commit
·
6549af7
1
Parent(s):
840b7e6
cleaned up requirements
Browse files- app.py +0 -2
- requirements.txt +0 -1
app.py
CHANGED
@@ -3,13 +3,11 @@ from langchain_huggingface import HuggingFaceEmbeddings
|
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from langchain_community.document_loaders import PyMuPDFLoader
|
5 |
import chainlit as cl
|
6 |
-
import os
|
7 |
from langchain_qdrant import QdrantVectorStore
|
8 |
from qdrant_client import QdrantClient
|
9 |
from qdrant_client.http.models import Distance, VectorParams
|
10 |
from langchain_openai.chat_models import ChatOpenAI
|
11 |
from operator import itemgetter
|
12 |
-
from langchain.schema.output_parser import StrOutputParser
|
13 |
from langchain.schema.runnable import RunnablePassthrough
|
14 |
from uuid import uuid4
|
15 |
|
|
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from langchain_community.document_loaders import PyMuPDFLoader
|
5 |
import chainlit as cl
|
|
|
6 |
from langchain_qdrant import QdrantVectorStore
|
7 |
from qdrant_client import QdrantClient
|
8 |
from qdrant_client.http.models import Distance, VectorParams
|
9 |
from langchain_openai.chat_models import ChatOpenAI
|
10 |
from operator import itemgetter
|
|
|
11 |
from langchain.schema.runnable import RunnablePassthrough
|
12 |
from uuid import uuid4
|
13 |
|
requirements.txt
CHANGED
@@ -4,5 +4,4 @@ langchain_huggingface
|
|
4 |
langchain_community
|
5 |
langchain_openai
|
6 |
qdrant-client
|
7 |
-
chainlit
|
8 |
PyMuPDF
|
|
|
4 |
langchain_community
|
5 |
langchain_openai
|
6 |
qdrant-client
|
|
|
7 |
PyMuPDF
|