Use GPT4 instead of GPT3.5

This commit is contained in:
2024-04-07 17:28:00 +02:00
parent be4bcc4eae
commit 3a41ce8822

View File

@ -69,7 +69,7 @@ func GenerateGPT4Response(prompt string, author string) (string, error) {
resp, err := client.CreateChatCompletion(
context.Background(),
openai.ChatCompletionRequest{
Model: openai.GPT3Dot5Turbo,
Model: openai.GPT4TurboPreview,
Messages: []openai.ChatCompletionMessage{
{
Role: openai.ChatMessageRoleSystem,