Explorar o código

Update 'context.go'

sokoow hai 1 ano
pai
achega
3fc837392a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      context.go

+ 1 - 1
context.go

@@ -104,7 +104,7 @@ func (c *ChatGPT) ChatWithContext(question string) (answer string, err error) {
 		return "", OverMaxTextLength
 	}
 	req := gogpt.CompletionRequest{
-		Model:            gogpt.GPT3Dot5Turbo,
+		Model:            gogpt.GPT3Dot5TurboInstruct,
 		MaxTokens:        c.maxAnswerLen,
 		Prompt:           prompt,
 		Temperature:      0.9,