Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
42227f93
Unverified
Commit
42227f93
authored
Jan 26, 2024
by
Yeuoly
Committed by
GitHub
Jan 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add openai gpt-4-0125-preview (#2226)
parent
89fcf4ea
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
118 additions
and
0 deletions
+118
-0
_position.yaml
...e/model_runtime/model_providers/openai/llm/_position.yaml
+2
-0
gpt-4-0125-preview.yaml
...untime/model_providers/openai/llm/gpt-4-0125-preview.yaml
+58
-0
gpt-4-turbo-preview.yaml
...ntime/model_providers/openai/llm/gpt-4-turbo-preview.yaml
+58
-0
No files found.
api/core/model_runtime/model_providers/openai/llm/_position.yaml
View file @
42227f93
-
gpt-4
-
gpt-4
-
gpt-4-turbo-preview
-
gpt-4-32k
-
gpt-4-32k
-
gpt-4-1106-preview
-
gpt-4-1106-preview
-
gpt-4-0125-preview
-
gpt-4-vision-preview
-
gpt-4-vision-preview
-
gpt-3.5-turbo
-
gpt-3.5-turbo
-
gpt-3.5-turbo-16k
-
gpt-3.5-turbo-16k
...
...
api/core/model_runtime/model_providers/openai/llm/gpt-4-0125-preview.yaml
0 → 100644
View file @
42227f93
model
:
gpt-4-0125-preview
label
:
zh_Hans
:
gpt-4-0125-preview
en_US
:
gpt-4-0125-preview
model_type
:
llm
features
:
-
multi-tool-call
-
agent-thought
model_properties
:
mode
:
chat
context_size
:
128000
parameter_rules
:
-
name
:
temperature
use_template
:
temperature
-
name
:
top_p
use_template
:
top_p
-
name
:
presence_penalty
use_template
:
presence_penalty
-
name
:
frequency_penalty
use_template
:
frequency_penalty
-
name
:
max_tokens
use_template
:
max_tokens
default
:
512
min
:
1
max
:
4096
-
name
:
seed
label
:
zh_Hans
:
种子
en_US
:
Seed
type
:
int
help
:
zh_Hans
:
如果指定,模型将尽最大努力进行确定性采样,使得重复的具有相同种子和参数的请求应该返回相同的结果。不能保证确定性,您应该参考 system_fingerprint
响应参数来监视变化。
en_US
:
If specified, model will make a best effort to sample deterministically,
such that repeated requests with the same seed and parameters should return
the same result. Determinism is not guaranteed, and you should refer to the
system_fingerprint response parameter to monitor changes in the backend.
required
:
false
precision
:
2
min
:
0
max
:
1
-
name
:
response_format
label
:
zh_Hans
:
回复格式
en_US
:
response_format
type
:
string
help
:
zh_Hans
:
指定模型必须输出的格式
en_US
:
specifying the format that the model must output
required
:
false
options
:
-
text
-
json_object
pricing
:
input
:
'
0.01'
output
:
'
0.03'
unit
:
'
0.001'
currency
:
USD
api/core/model_runtime/model_providers/openai/llm/gpt-4-turbo-preview.yaml
0 → 100644
View file @
42227f93
model
:
gpt-4-turbo-preview
label
:
zh_Hans
:
gpt-4-turbo-preview
en_US
:
gpt-4-turbo-preview
model_type
:
llm
features
:
-
multi-tool-call
-
agent-thought
model_properties
:
mode
:
chat
context_size
:
128000
parameter_rules
:
-
name
:
temperature
use_template
:
temperature
-
name
:
top_p
use_template
:
top_p
-
name
:
presence_penalty
use_template
:
presence_penalty
-
name
:
frequency_penalty
use_template
:
frequency_penalty
-
name
:
max_tokens
use_template
:
max_tokens
default
:
512
min
:
1
max
:
4096
-
name
:
seed
label
:
zh_Hans
:
种子
en_US
:
Seed
type
:
int
help
:
zh_Hans
:
如果指定,模型将尽最大努力进行确定性采样,使得重复的具有相同种子和参数的请求应该返回相同的结果。不能保证确定性,您应该参考 system_fingerprint
响应参数来监视变化。
en_US
:
If specified, model will make a best effort to sample deterministically,
such that repeated requests with the same seed and parameters should return
the same result. Determinism is not guaranteed, and you should refer to the
system_fingerprint response parameter to monitor changes in the backend.
required
:
false
precision
:
2
min
:
0
max
:
1
-
name
:
response_format
label
:
zh_Hans
:
回复格式
en_US
:
response_format
type
:
string
help
:
zh_Hans
:
指定模型必须输出的格式
en_US
:
specifying the format that the model must output
required
:
false
options
:
-
text
-
json_object
pricing
:
input
:
'
0.01'
output
:
'
0.03'
unit
:
'
0.001'
currency
:
USD
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment