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