viboognesh commited on
Commit
ff6d755
·
verified ·
1 Parent(s): 25d689b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def retrieve_and_query(query, retriever_engine):
153
  )
154
  qa_tmpl = PromptTemplate(qa_tmpl_str)
155
 
156
- llm = OpenAI(model="gpt-4o", temperature=0)
157
  response_synthesizer = get_response_synthesizer(response_mode="refine", text_qa_template=qa_tmpl, llm=llm)
158
 
159
  response = response_synthesizer.synthesize(query, nodes=retrieval_results)
 
153
  )
154
  qa_tmpl = PromptTemplate(qa_tmpl_str)
155
 
156
+ llm = OpenAI(model="gpt-4o-mini", temperature=0)
157
  response_synthesizer = get_response_synthesizer(response_mode="refine", text_qa_template=qa_tmpl, llm=llm)
158
 
159
  response = response_synthesizer.synthesize(query, nodes=retrieval_results)