Advanced usage
Custom Response
PandasAI offers the flexibility to handle chat responses in a customized manner. By default, PandasAI includes a ResponseParser class that can be extended to modify the response output according to your needs.
You have the option to provide a custom parser, such as StreamlitResponse
, to the configuration object like this: