srini047 commited on
Commit
30ee592
·
1 Parent(s): 39806b1

Update ques_2.py

Browse files
Files changed (1) hide show
  1. ques_2.py +1 -1
ques_2.py CHANGED
@@ -23,7 +23,7 @@ def main():
23
  llm = ChatOpenAI(
24
  model_name="gpt-3.5-turbo",
25
  temperature=0,
26
- openai_api_key=OPENAI_API_KEY,
27
  )
28
  template = """Use the following pieces of context to answer the question at the end.
29
  If you don't know the answer, just say that you don't know, don't try to make up an answer.
 
23
  llm = ChatOpenAI(
24
  model_name="gpt-3.5-turbo",
25
  temperature=0,
26
+ openai_api_key=openai_api_key=os.environ['OPENAI_API_KEY'],
27
  )
28
  template = """Use the following pieces of context to answer the question at the end.
29
  If you don't know the answer, just say that you don't know, don't try to make up an answer.