添加千帆大模型支持
This commit is contained in:
parent
6a84f82fe8
commit
6ee679f29e
|
|
@ -45,7 +45,7 @@ type ModelParam struct {
|
|||
APIKey string `json:"apiKey"` //应用key
|
||||
System string `json:"system"` //系统参数
|
||||
AccessKey string `json:"access_key"` //accessKey参数
|
||||
SecretKey string `json:"Secret_key"` //secretKey参数
|
||||
SecretKey string `json:"secret_key"` //secretKey参数
|
||||
//其他参数
|
||||
Temperature float32 `json:"temperature"` //温度,默认0.5,核采样阈值。取值越高随机性越强,即相同的问题得到的不同答案的可能性越大
|
||||
MaxTokens int `json:"maxTokens"` //最大生成长度,默认4096
|
||||
|
|
|
|||
Loading…
Reference in New Issue