text-davinci-003

This commit is contained in:
cookeem
2023-03-03 22:28:02 +08:00
parent dc4ffb96b3
commit bf908be12e

View File

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