Explorar o código

Update 'chatgpt.go'

sokoow hai 1 ano
pai
achega
c518c250aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,