Siyuan0730 commited on
Commit
06ad84f
·
1 Parent(s): ecf88a0

更新模型

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def get_keywords(file_paths): #这里的重点是,对每一个file做尽可能
62
 
63
  return keywords_list
64
 
65
- def get_completion_from_messages(messages, model="gpt-4", temperature=0):
66
  response = openai.ChatCompletion.create(
67
  model=model,
68
  messages=messages,
 
62
 
63
  return keywords_list
64
 
65
+ def get_completion_from_messages(messages, model="gpt-4-1106-preview", temperature=0):
66
  response = openai.ChatCompletion.create(
67
  model=model,
68
  messages=messages,