sokoow 1 год назад
Родитель
Сommit
c518c250aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      chatgpt.go

+ 1 - 1
chatgpt.go

@@ -74,7 +74,7 @@ func (c *ChatGPT) Chat(question string) (answer string, err error) {
 		question = question[:c.maxText-c.maxAnswerLen]
 	}
 	req := gogpt.CompletionRequest{
-		Model:            gogpt.GPT3Dot5Turbo,
+		Model:            gogpt.GPT3Dot5TurboInstruct,
 		MaxTokens:        c.maxAnswerLen,
 		Prompt:           question,
 		Temperature:      0.9,