You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a response value in the following format:
{"type": "dataframe", "value": "xyz"}
Motivation, pitch
This would allow downstream programmatic handling of the different potential responses types.
Alternatives
No response
Additional context
As it stands I believe it works like this:
If no response_parser is passed to the SmartDataframe then the response is parsed to just include the result["value"]. I think that potentially the default should be to return both the type and value. Then in the config add an option to parse just the value.
Also, as it stands I have not contributed to this project but I would like the opportunity to implement this change if possible?
The text was updated successfully, but these errors were encountered:
🚀 The feature
I would like a response value in the following format:
{"type": "dataframe", "value": "xyz"}
Motivation, pitch
This would allow downstream programmatic handling of the different potential responses types.
Alternatives
No response
Additional context
As it stands I believe it works like this:
If no response_parser is passed to the SmartDataframe then the response is parsed to just include the result["value"]. I think that potentially the default should be to return both the type and value. Then in the config add an option to parse just the value.
Also, as it stands I have not contributed to this project but I would like the opportunity to implement this change if possible?
The text was updated successfully, but these errors were encountered: