Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,7 @@ from langchain.embeddings import GooglePalmEmbeddings
|
|
| 9 |
from langchain.vectorstores import FAISS
|
| 10 |
from langchain.document_loaders import PyPDFLoader
|
| 11 |
from langchain.chains import RetrievalQA
|
| 12 |
-
|
| 13 |
-
from google.genai import types
|
| 14 |
# Define chatbot response function
|
| 15 |
def chatbot_response(user_input):
|
| 16 |
# Example: returning a placeholder response, update with actual chatbot logic
|
|
|
|
| 9 |
from langchain.vectorstores import FAISS
|
| 10 |
from langchain.document_loaders import PyPDFLoader
|
| 11 |
from langchain.chains import RetrievalQA
|
| 12 |
+
import google.generativeai as genai
|
|
|
|
| 13 |
# Define chatbot response function
|
| 14 |
def chatbot_response(user_input):
|
| 15 |
# Example: returning a placeholder response, update with actual chatbot logic
|