Skip to content

Commit

Permalink
1.7 新增 GPT 4o 静态模型
Browse files Browse the repository at this point in the history
  • Loading branch information
lyy289065406 committed Aug 27, 2024
1 parent 52e085a commit 7953877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.6', # Required. eg. 1.2.3
version='1.7', # Required. eg. 1.2.3

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down
5 changes: 3 additions & 2 deletions src/transgpt/trans_chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
CHATGPT_35_TURBO = "gpt-3.5-turbo" # 16K
CHATGPT_4 = "gpt-4" # 8K
CHATGPT_4_TRUBO = "gpt-4-turbo" # 128K
CHATGPT_4o = "chatgpt-4o-latest" # 128K
CHATGPT_4o_MINI = "gpt-4o-mini" # 128K
CHATGPT_4o = "gpt-4o" # 128K(静态模型,适合翻译)
CHATGPT_4o_LATEST = "chatgpt-4o-latest" # 128K(动态模型,价格高)
CHATGPT_4o_MINI = "gpt-4o-mini" # 128K(翻译较弱)

ARG_ROLE = 'role'
ARG_OPENAI_MODEL = 'openai_model'
Expand Down

0 comments on commit 7953877

Please sign in to comment.