Update process_data.py
Browse files- process_data.py +1 -1
process_data.py
CHANGED
|
@@ -144,7 +144,7 @@ def generate_json_pieces(input_data, parameters):
|
|
| 144 |
print(specification)
|
| 145 |
print(model_version)
|
| 146 |
|
| 147 |
-
if parameters["pre_prompt"]:
|
| 148 |
print("Pre prompt is true")
|
| 149 |
field_data_input = input_data["input_text_pieces"]["pre_processed_pieces"]["field_data_input"]
|
| 150 |
planting_data_input = input_data["input_text_pieces"]["pre_processed_pieces"]["planting_data_input"]
|
|
|
|
| 144 |
print(specification)
|
| 145 |
print(model_version)
|
| 146 |
|
| 147 |
+
if parameters["pre_prompt"] and parameters["chaining"]:
|
| 148 |
print("Pre prompt is true")
|
| 149 |
field_data_input = input_data["input_text_pieces"]["pre_processed_pieces"]["field_data_input"]
|
| 150 |
planting_data_input = input_data["input_text_pieces"]["pre_processed_pieces"]["planting_data_input"]
|