Masa-digital-art
commited on
Commit
•
667e85a
1
Parent(s):
7877cdb
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ article = """
|
|
34 |
|
35 |
load_dotenv()
|
36 |
openai.api_key = os.getenv('OPENAI_API_KEY')
|
37 |
-
MODEL = "gpt-
|
38 |
|
39 |
def get_filetext(filename, cache={}):
|
40 |
if filename in cache:
|
@@ -58,7 +58,7 @@ class OpenAI:
|
|
58 |
|
59 |
# ChatCompletion APIに渡すデータを定義する
|
60 |
data = {
|
61 |
-
"model": "gpt-
|
62 |
"messages": [
|
63 |
{"role": "system", "content": constraints}
|
64 |
,{"role": "system", "content": template}
|
|
|
34 |
|
35 |
load_dotenv()
|
36 |
openai.api_key = os.getenv('OPENAI_API_KEY')
|
37 |
+
MODEL = "gpt-3.5-turbo-16k"
|
38 |
|
39 |
def get_filetext(filename, cache={}):
|
40 |
if filename in cache:
|
|
|
58 |
|
59 |
# ChatCompletion APIに渡すデータを定義する
|
60 |
data = {
|
61 |
+
"model": "gpt-3.5-turbo-16k",
|
62 |
"messages": [
|
63 |
{"role": "system", "content": constraints}
|
64 |
,{"role": "system", "content": template}
|