Spaces:
Sleeping
Sleeping
viboognesh
commited on
Update app.py
Browse files
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)
|