支持gpt-3.5-turbo-0301

This commit is contained in:
cookeem
2023-03-03 22:42:06 +08:00
parent bf908be12e
commit e2fd28897c

View File

@@ -78,8 +78,7 @@ 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: "gpt-3.5-turbo",
Model: gogpt.GPT3Dot5Turbo0301,
MaxTokens: api.Config.MaxLength,
Temperature: 0.6,
Prompt: requestMsg,