Use GPT4 instead of GPT3.5
This commit is contained in:
parent
be4bcc4eae
commit
3a41ce8822
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ func GenerateGPT4Response(prompt string, author string) (string, error) {
|
||||||
resp, err := client.CreateChatCompletion(
|
resp, err := client.CreateChatCompletion(
|
||||||
context.Background(),
|
context.Background(),
|
||||||
openai.ChatCompletionRequest{
|
openai.ChatCompletionRequest{
|
||||||
Model: openai.GPT3Dot5Turbo,
|
Model: openai.GPT4TurboPreview,
|
||||||
Messages: []openai.ChatCompletionMessage{
|
Messages: []openai.ChatCompletionMessage{
|
||||||
{
|
{
|
||||||
Role: openai.ChatMessageRoleSystem,
|
Role: openai.ChatMessageRoleSystem,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue