Advanced usage
Custom Response
PandaAI offers the flexibility to handle chat responses in a customized manner. By default, PandaAI 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:
Example Usage
Streamlit Example
Was this page helpful?