Skip to content

Commit

Permalink
Merge pull request #3 from tsukuba-websci/junya/update/openai-model
Browse files Browse the repository at this point in the history
update: gpt-model
  • Loading branch information
Okabe-Junya authored Nov 17, 2023
2 parents d6910df + 8a46e6a commit abb34e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion summarizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def split_messages_by_token_count(messages: list[str]) -> list[list[str]]:
LANGUAGE = str(os.environ.get('LANGUAGE') or "Japanese").strip()
TIMEZONE_STR = str(os.environ.get('TIMEZONE') or 'Asia/Tokyo').strip()
TEMPERATURE = float(os.environ.get('TEMPERATURE') or 0.3)
CHAT_MODEL = str(os.environ.get('CHAT_MODEL') or "gpt-3.5-turbo").strip()
CHAT_MODEL = str(os.environ.get('CHAT_MODEL') or "gpt-4-1106-preview").strip()
DEBUG = str(os.environ.get('DEBUG') or "").strip() != ""
MAX_BODY_TOKENS = 3000

Expand Down

0 comments on commit abb34e0

Please sign in to comment.