From b41d8288b79d25ec9bda0925834ea64d7cf999f9 Mon Sep 17 00:00:00 2001 From: Romain Quinet Date: Fri, 6 Oct 2023 22:52:42 +0200 Subject: [PATCH] Use GPT4 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2f22d83..ad794a8 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ from llama_index.llms import OpenAI import os import re -llm = OpenAI(model="gpt-3.5-turbo", temperature=0, max_tokens=256) +llm = OpenAI(model="gpt-4", temperature=0, max_tokens=256) service_context = ServiceContext.from_defaults(llm=llm) set_global_service_context(service_context)