使用gpt-3.5-turbo优化模型
This commit is contained in:
@@ -78,7 +78,8 @@ func (api *Api) GetChatMessage(conn *websocket.Conn, cli *gogpt.Client, mutex *s
|
||||
var err error
|
||||
var strResp string
|
||||
req := gogpt.CompletionRequest{
|
||||
Model: gogpt.GPT3TextDavinci003,
|
||||
// Model: gogpt.GPT3TextDavinci003,
|
||||
Model: "gpt-3.5-turbo",
|
||||
MaxTokens: api.Config.MaxLength,
|
||||
Temperature: 0.6,
|
||||
Prompt: requestMsg,
|
||||
|
||||
Reference in New Issue
Block a user