zlmqi commited on
Commit
fb91144
1 Parent(s): a092b77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,8 +44,8 @@ session_id = uuid4()
44
 
45
  # deprecated (llama-index 0.9)
46
  storage_context = StorageContext.from_defaults(persist_dir='./')
47
- # gpt-3.5_turbo is the current default model
48
- llm = OpenAI(temperature=0.5, model="gpt-3.5_turbo")
49
  service_context = ServiceContext.from_defaults(llm=llm)
50
  index = load_index_from_storage(storage_context, service_context=service_context)
51
  # for llama-index 0.10
 
44
 
45
  # deprecated (llama-index 0.9)
46
  storage_context = StorageContext.from_defaults(persist_dir='./')
47
+ # gpt-3.5-turbo is the current default model
48
+ llm = OpenAI(temperature=0.5, model="gpt-4")
49
  service_context = ServiceContext.from_defaults(llm=llm)
50
  index = load_index_from_storage(storage_context, service_context=service_context)
51
  # for llama-index 0.10