alexkueck commited on
Commit
7a3e10e
1 Parent(s): 130dcb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -8,9 +8,8 @@ from langchain.evaluation import load_evaluator
8
  from pprint import pprint as print
9
  import time
10
 
11
- from langchain.chains import LLMChain, RetrievalQA
12
- from langchain.chat_models import ChatOpenAI
13
- from langchain.retrievers.self_query.base import SelfQueryRetriever
14
  from langchain.document_loaders import PyPDFLoader, WebBaseLoader, UnstructuredWordDocumentLoader, DirectoryLoader
15
  from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
16
  from langchain.document_loaders.generic import GenericLoader
@@ -20,7 +19,7 @@ from langchain.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbed
20
  from langchain.prompts import PromptTemplate
21
  from langchain.embeddings.openai import OpenAIEmbeddings
22
  from langchain.text_splitter import RecursiveCharacterTextSplitter
23
- from langchain.retrievers.self_query.base import SelfQueryRetriever
24
  from langchain.vectorstores import Chroma
25
  from chromadb.errors import InvalidDimensionException
26
 
 
8
  from pprint import pprint as print
9
  import time
10
 
11
+ #from langchain.chains import LLMChain, RetrievalQA
12
+ #from langchain.retrievers.self_query.base import SelfQueryRetriever
 
13
  from langchain.document_loaders import PyPDFLoader, WebBaseLoader, UnstructuredWordDocumentLoader, DirectoryLoader
14
  from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
15
  from langchain.document_loaders.generic import GenericLoader
 
19
  from langchain.prompts import PromptTemplate
20
  from langchain.embeddings.openai import OpenAIEmbeddings
21
  from langchain.text_splitter import RecursiveCharacterTextSplitter
22
+ #from langchain.retrievers.self_query.base import SelfQueryRetriever
23
  from langchain.vectorstores import Chroma
24
  from chromadb.errors import InvalidDimensionException
25