Spaces:
Runtime error
Runtime error
Commit
·
7f421ce
1
Parent(s):
cb4edfd
Update chat_completion.py
Browse files- chat_completion.py +1 -1
chat_completion.py
CHANGED
@@ -6,7 +6,7 @@ import openai
|
|
6 |
|
7 |
|
8 |
class ChatCompletion:
|
9 |
-
def __init__(self, model: str = 'gpt-
|
10 |
api_key: Optional[str] = None, api_key_path: str = './openai_api_key'):
|
11 |
if api_key is None:
|
12 |
openai.api_key = api_key
|
|
|
6 |
|
7 |
|
8 |
class ChatCompletion:
|
9 |
+
def __init__(self, model: str = 'gpt-3.5-turbo-0613',
|
10 |
api_key: Optional[str] = None, api_key_path: str = './openai_api_key'):
|
11 |
if api_key is None:
|
12 |
openai.api_key = api_key
|