Skip to content

Commit

Permalink
Use gpt-4o since its accuracy with RAG is better than mini
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Feb 18, 2025
1 parent 330e526 commit 5504ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func askLLM(ctx context.Context, contexts []string, question string) string {
},
}
res, err := openAIClient.CreateChatCompletion(ctx, openai.ChatCompletionRequest{
Model: openai.GPT4oMini,
Model: openai.GPT4o,
Messages: messages,
})
if err != nil {
Expand Down

0 comments on commit 5504ad8

Please sign in to comment.