danielcwq commited on
Commit
790780f
·
1 Parent(s): 3052b9e

Update query_data.py

Browse files
Files changed (1) hide show
  1. query_data.py +1 -1
query_data.py CHANGED
@@ -25,7 +25,7 @@ QA_PROMPT = PromptTemplate(template=template, input_variables=["question", "cont
25
 
26
 
27
  def get_chain(vectorstore):
28
- llm = ChatOpenAI(temperature=0)
29
  qa_chain = ChatVectorDBChain.from_llm(
30
  llm,
31
  vectorstore,
 
25
 
26
 
27
  def get_chain(vectorstore):
28
+ llm = OpenAI(temperature=0)
29
  qa_chain = ChatVectorDBChain.from_llm(
30
  llm,
31
  vectorstore,