Spaces:
Paused
Paused
dtrejopizzo
commited on
Commit
·
3e664b4
1
Parent(s):
592c0cd
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def construct_index(directory_path):
|
|
16 |
|
17 |
prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)
|
18 |
|
19 |
-
llm_predictor = LLMPredictor(llm=ChatOpenAI(temperature=
|
20 |
|
21 |
documents = SimpleDirectoryReader(directory_path).load_data()
|
22 |
|
|
|
16 |
|
17 |
prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)
|
18 |
|
19 |
+
llm_predictor = LLMPredictor(llm=ChatOpenAI(temperature=1.0, model_name="gpt-4", max_tokens=num_outputs))
|
20 |
|
21 |
documents = SimpleDirectoryReader(directory_path).load_data()
|
22 |
|