Spaces:
Running
Running
Chandranshu Jain
commited on
Commit
•
3d8ce2d
1
Parent(s):
33c925d
Update app2.py
Browse files
app2.py
CHANGED
@@ -7,7 +7,9 @@ from langchain_community.vectorstores import Chroma
|
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
from langchain.chains.question_answering import load_qa_chain
|
9 |
from langchain.prompts import PromptTemplate
|
10 |
-
from
|
|
|
|
|
11 |
configuration = {
|
12 |
"client": "PersistentClient",
|
13 |
"path": "/tmp/.chroma"
|
|
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
from langchain.chains.question_answering import load_qa_chain
|
9 |
from langchain.prompts import PromptTemplate
|
10 |
+
from langchain_community.document_loaders import PyPDFLoader
|
11 |
+
from langchain_chroma import Chroma
|
12 |
+
|
13 |
configuration = {
|
14 |
"client": "PersistentClient",
|
15 |
"path": "/tmp/.chroma"
|