Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
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 |
|