Update process_data.py
Browse files- process_data.py +4 -4
process_data.py
CHANGED
|
@@ -213,7 +213,7 @@ def generate_json_pieces(input_data, parameters):
|
|
| 213 |
|
| 214 |
|
| 215 |
print("PLANT JSON: ")
|
| 216 |
-
plant_pretty_json = plant_generated_json.json()
|
| 217 |
print(plant_pretty_json) # debugging
|
| 218 |
|
| 219 |
log_response = client.beta.chat.completions.parse(
|
|
@@ -229,7 +229,7 @@ def generate_json_pieces(input_data, parameters):
|
|
| 229 |
|
| 230 |
|
| 231 |
print("LOG JSON: ")
|
| 232 |
-
log_pretty_json = log_generated_json.json()
|
| 233 |
print(log_pretty_json) # debugging
|
| 234 |
|
| 235 |
soil_response = client.beta.chat.completions.parse(
|
|
@@ -245,7 +245,7 @@ def generate_json_pieces(input_data, parameters):
|
|
| 245 |
|
| 246 |
|
| 247 |
print("SOIL JSON: ")
|
| 248 |
-
soil_pretty_json = soil_generated_json.json()
|
| 249 |
print(soil_pretty_json) # debugging
|
| 250 |
|
| 251 |
yield_response = client.beta.chat.completions.parse(
|
|
@@ -261,7 +261,7 @@ def generate_json_pieces(input_data, parameters):
|
|
| 261 |
|
| 262 |
|
| 263 |
print("YIELD JSON: ")
|
| 264 |
-
yield_pretty_json = yield_generated_json.json()
|
| 265 |
print(yield_pretty_json) # debugging
|
| 266 |
|
| 267 |
plantings = {
|
|
|
|
| 213 |
|
| 214 |
|
| 215 |
print("PLANT JSON: ")
|
| 216 |
+
plant_pretty_json = plant_generated_json.json().dict()
|
| 217 |
print(plant_pretty_json) # debugging
|
| 218 |
|
| 219 |
log_response = client.beta.chat.completions.parse(
|
|
|
|
| 229 |
|
| 230 |
|
| 231 |
print("LOG JSON: ")
|
| 232 |
+
log_pretty_json = log_generated_json.json().dict()
|
| 233 |
print(log_pretty_json) # debugging
|
| 234 |
|
| 235 |
soil_response = client.beta.chat.completions.parse(
|
|
|
|
| 245 |
|
| 246 |
|
| 247 |
print("SOIL JSON: ")
|
| 248 |
+
soil_pretty_json = soil_generated_json.json().dict()
|
| 249 |
print(soil_pretty_json) # debugging
|
| 250 |
|
| 251 |
yield_response = client.beta.chat.completions.parse(
|
|
|
|
| 261 |
|
| 262 |
|
| 263 |
print("YIELD JSON: ")
|
| 264 |
+
yield_pretty_json = yield_generated_json.json().dict()
|
| 265 |
print(yield_pretty_json) # debugging
|
| 266 |
|
| 267 |
plantings = {
|