shimizukawa commited on
Commit
26167f0
1 Parent(s): 0b78ead

replace model from gpt-3.5-turbo to gpt-4o-mini

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ def load_embeddings():
32
 
33
 
34
  @st.cache_resource
35
- def llm_model(model="gpt-3.5-turbo", temperature=0.2):
36
  llm = ChatOpenAI(model=model, temperature=temperature)
37
  return llm
38
 
@@ -250,7 +250,7 @@ with st.form("my_form"):
250
  qa_searched = submit_col1.form_submit_button("Q&A by OpenAI")
251
  if qa_searched and index_list:
252
  st.divider()
253
- st.header("Answer by OpenAI GPT-3")
254
  st.divider()
255
  with st.spinner("Thinking..."):
256
  results = run_qa(
 
32
 
33
 
34
  @st.cache_resource
35
+ def llm_model(model="gpt-4o-mini", temperature=0.2):
36
  llm = ChatOpenAI(model=model, temperature=temperature)
37
  return llm
38
 
 
250
  qa_searched = submit_col1.form_submit_button("Q&A by OpenAI")
251
  if qa_searched and index_list:
252
  st.divider()
253
+ st.header("Answer by OpenAI GPT-4o mini")
254
  st.divider()
255
  with st.spinner("Thinking..."):
256
  results = run_qa(