Spaces:
Runtime error
Runtime error
Commit ·
dda1bd7
1
Parent(s): 22c3599
更新一下模型
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ example_output = '''·
|
|
| 90 |
```
|
| 91 |
'''
|
| 92 |
|
| 93 |
-
def get_completion_from_messages(messages, model="gpt-
|
| 94 |
response = openai.ChatCompletion.create(
|
| 95 |
model=model,
|
| 96 |
messages=messages,
|
|
|
|
| 90 |
```
|
| 91 |
'''
|
| 92 |
|
| 93 |
+
def get_completion_from_messages(messages, model="gpt-4-1106-preview", temperature=0):
|
| 94 |
response = openai.ChatCompletion.create(
|
| 95 |
model=model,
|
| 96 |
messages=messages,
|