patti-j commited on
Commit
aab7bce
1 Parent(s): ca3e04c

Update query_data.py

Browse files
Files changed (1) hide show
  1. query_data.py +2 -2
query_data.py CHANGED
@@ -15,7 +15,7 @@ Answer in Markdown:"""
15
 
16
  def get_chain(chat_message, chat_history):
17
  llm = OpenAI(temperature=0.9)
18
- chain = LLMChain(llm=llm, prompt=PromptTemplate.from_template(prompt_template)),
19
  input_variables=["chat_message", "chat_history"]
20
- output = chain.run()
21
  return output
 
15
 
16
  def get_chain(chat_message, chat_history):
17
  llm = OpenAI(temperature=0.9)
18
+ llm_chain = LLMChain(llm=llm, prompt=PromptTemplate.from_template(prompt_template)),
19
  input_variables=["chat_message", "chat_history"]
20
+ output = llm_chain.run()
21
  return output