Soumik555 commited on
Commit
6e9f599
·
1 Parent(s): ace75e8

added gemini too

Browse files
Files changed (1) hide show
  1. controller.py +2 -0
controller.py CHANGED
@@ -801,6 +801,8 @@ async def csv_chart(request: dict, authorization: str = Header(None)):
801
  detailed_answer = request.get("detailed_answer", False)
802
  conversation_history = request.get("conversation_history", [])
803
 
 
 
804
  loop = asyncio.get_running_loop()
805
  # First, try the langchain-based method if the question qualifies
806
  if if_initial_chart_question(query):
 
801
  detailed_answer = request.get("detailed_answer", False)
802
  conversation_history = request.get("conversation_history", [])
803
 
804
+ return {"orchestrator_response": f"Detailed answer: {detailed_answer}"}
805
+
806
  loop = asyncio.get_running_loop()
807
  # First, try the langchain-based method if the question qualifies
808
  if if_initial_chart_question(query):