Spaces:
Running
Running
Update QnA.py
Browse files
QnA.py
CHANGED
@@ -3,7 +3,8 @@ from langchain.chains import RetrievalQA
|
|
3 |
from langchain.llms import GooglePalm
|
4 |
|
5 |
import os
|
6 |
-
os.environ["GOOGLE_API_KEY"]
|
|
|
7 |
|
8 |
def Q_A(vectorstore,question):
|
9 |
google_llm = GooglePalm(google_api_key=google_plam, temperature=0.5)
|
|
|
3 |
from langchain.llms import GooglePalm
|
4 |
|
5 |
import os
|
6 |
+
google_plam = os.environ["GOOGLE_API_KEY"]
|
7 |
+
|
8 |
|
9 |
def Q_A(vectorstore,question):
|
10 |
google_llm = GooglePalm(google_api_key=google_plam, temperature=0.5)
|