Mr-TD commited on
Commit
c7d6cd8
1 Parent(s): 63ae6b3

Update QnA.py

Browse files
Files changed (1) hide show
  1. QnA.py +2 -1
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)