How do I save the 'Final answer' as a variable when querying tabular data? #3708
Closed
data-science101
started this conversation in
General
Replies: 1 comment
-
Nevermind, I'm using a Flask application and got to solve it by passing it in the index.html file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, how do I save the Final Answer content in a variable when querying tabular data?
My code:
agent = create_pandas_dataframe_agent(OpenAI(temperature=0), df, verbose=True)
resposta = agent.run(text_input)
The response:
Beta Was this translation helpful? Give feedback.
All reactions