williamagyapong commited on
Commit
8f20afd
·
verified ·
1 Parent(s): decf374

Update utility.py

Browse files
Files changed (1) hide show
  1. utility.py +1 -1
utility.py CHANGED
@@ -282,7 +282,7 @@ def read_datalake(user_phone, user_question):
282
  inventory_df = pd.DataFrame(inventory_list)
283
  sales_df = pd.DataFrame(sales_list)
284
 
285
- # lake = SmartDatalake([inventory_df, sales_df], config={"llm": llm, "custom_whitelisted_dependencies":["ast"], "response_parser": FlaskResponse, "enable_cache": False, "save_logs": False})
286
  response = lake.chat(user_question)
287
 
288
  return response
 
282
  inventory_df = pd.DataFrame(inventory_list)
283
  sales_df = pd.DataFrame(sales_list)
284
 
285
+ lake = SmartDatalake([inventory_df, sales_df], config={"llm": llm, "custom_whitelisted_dependencies":["ast"], "response_parser": FlaskResponse, "enable_cache": False, "save_logs": False})
286
  response = lake.chat(user_question)
287
 
288
  return response