added gemini too
Browse files
orchestrator_functions.py
CHANGED
@@ -318,7 +318,7 @@ def langchain_csv_chart(csv_url: str, question: str, chart_required: bool):
|
|
318 |
return_intermediate_steps=True
|
319 |
)
|
320 |
|
321 |
-
result = agent.invoke({"input": _prompt_generator(question, True)})
|
322 |
output = result.get("output", "")
|
323 |
|
324 |
# Verify chart file creation
|
|
|
318 |
return_intermediate_steps=True
|
319 |
)
|
320 |
|
321 |
+
result = agent.invoke({"input": _prompt_generator(f"{question} and use this csv_url: {csv_url} to read the csv file", True)})
|
322 |
output = result.get("output", "")
|
323 |
|
324 |
# Verify chart file creation
|