brurei commited on
Commit
8b4e43a
1 Parent(s): b00f3a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def construct_index(directory_path):
19
 
20
  prompt_helper = PromptHelper(context_window=3900, num_output=256, max_chunk_overlap=20, chunk_size_limit=1024)
21
 
22
- llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.0, model_name="gpt-3.5-turbo-16k", max_tokens=num_outputs))
23
 
24
 
25
  documents = SimpleDirectoryReader(directory_path).load_data()
 
19
 
20
  prompt_helper = PromptHelper(context_window=3900, num_output=256, max_chunk_overlap=20, chunk_size_limit=1024)
21
 
22
+ llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.0, model_name="text-davinci-003", max_tokens=num_outputs, top_p=1, frequency_penalty=0, presence_penalty=0))
23
 
24
 
25
  documents = SimpleDirectoryReader(directory_path).load_data()