Capture output of pandas dataframe agent #27491
Replies: 1 comment
-
I found a similar unsolved discussion that might be relevant to your issue: Output of pandas dataframe agent, which was last updated on October 14, 2024 [1]. Regarding your question, the LangChain pandas dataframe agent typically returns outputs in a textual summary format. To capture the output in a structured format, you might need to modify the agent's behavior or the way it processes outputs. Unfortunately, specific methods or attributes to directly capture structured data weren't found in the available information. You might consider exploring the agent's internal methods or modifying the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi - I am using the langchain pandas dataframe agent. Somehow it is not returning the output in the output variable. It just displays the answer and output variable says "as shown in the observation above". I need the output in structured format to use it for further processing. Request help from the community. Code:
Output:
How do I capture the full table as output instead of just the text saying shown above.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions