Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from langchain_community.llms import GooglePalm
|
|
3 |
from langchain.text_splitter import CharacterTextSplitter
|
4 |
from langchain_community.embeddings import GooglePalmEmbeddings
|
5 |
from langchain_community.vectorstores import FAISS
|
6 |
-
from
|
7 |
from secret1 import GOOGLE_API as google_api
|
8 |
import PyPDF2
|
9 |
# def chatbot_response(user_input, history):
|
|
|
3 |
from langchain.text_splitter import CharacterTextSplitter
|
4 |
from langchain_community.embeddings import GooglePalmEmbeddings
|
5 |
from langchain_community.vectorstores import FAISS
|
6 |
+
from langchain.chains import RetrievalQA
|
7 |
from secret1 import GOOGLE_API as google_api
|
8 |
import PyPDF2
|
9 |
# def chatbot_response(user_input, history):
|