Ver código fonte

Update 'chatgpt.go'

sokoow 1 ano atrás
pai
commit
c518c250aa
1 arquivos alterados com 1 adições e 1 exclusões
  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,