-
This is my function: import pandas as pd def dataframe_to_parquet(dataframe, filename, compression='gzip'):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I added @tool at the top of the function and created an agent like below. But that new agent is not invoking in the flow sdf_agent = create_agent( |
Beta Was this translation helpful? Give feedback.
I added @tool at the top of the function and created an agent like below. But that new agent is not invoking in the flow
sdf_agent = create_agent(
llm,
[dataframe_to_parquet],
#system_message="Any charts you display will be visible by the user.",
system_message=""" XXXXXX
"""
)
sdf_node = functools.partial(agent_node, agent=sdf_agent, name="Parq Generator")