Saurabh46 commited on
Commit
96a29fa
·
1 Parent(s): dc6cd96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def construct_index(directory_path):
9
  # set number of output tokens
10
  num_outputs = 256
11
 
12
- _llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.5, model_name="davinci", max_tokens=num_outputs))
13
 
14
  service_context = ServiceContext.from_defaults(llm_predictor=_llm_predictor)
15
 
 
9
  # set number of output tokens
10
  num_outputs = 256
11
 
12
+ _llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.5, model_name="gpt-4", max_tokens=num_outputs))
13
 
14
  service_context = ServiceContext.from_defaults(llm_predictor=_llm_predictor)
15