brurei commited on
Commit
ded2333
1 Parent(s): 278b36d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def construct_index(directory_path):
184
 
185
  prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)
186
 
187
- llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.0, model_name="text-davinci-004", max_tokens=num_outputs))
188
 
189
  documents = SimpleDirectoryReader(directory_path).load_data()
190
 
 
184
 
185
  prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)
186
 
187
+ llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.0, model_name="gpt-3.5-turbo-instruct", max_tokens=num_outputs))
188
 
189
  documents = SimpleDirectoryReader(directory_path).load_data()
190