Function reference
The Querychat class
The starting point for any QueryChat session
| QueryChat | Create a QueryChat instance. |
| express.QueryChat | Use QueryChat with Shiny Express. |
Reactive values
Session-specific reactive values representing the current query
| types.ServerValues | Session-specific reactive values and client returned by QueryChat.server(). |
Data Sources
The underlying logic for managing data sources
| types.DataSource | An abstract class defining the interface for data sources used by QueryChat. |
| types.DataFrameSource | A DataSource implementation that wraps a pandas DataFrame using DuckDB. |
| types.SQLAlchemySource | A DataSource implementation that supports multiple SQL databases via |
Tools
The underlying tools provided to the LLM
| tools.tool_query | Create a tool that performs a SQL query on the data. |
| tools.tool_update_dashboard | Create a tool that modifies the data presented in the dashboard based on the SQL query. |
| tools.tool_reset_dashboard | Create a tool that resets the dashboard to show all data. |