Conversation
9a37c10 to
26ad4ef
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new querychat_app() function that creates a simple Shiny app for chatting with data using natural language queries. The app provides a complete interface with a sidebar chat, data dashboard, and SQL query display.
Key changes include:
- New
querychat_app()function for launching a standalone Shiny app - Refactored tool system with dedicated functions for dashboard updates and queries
- Enhanced UI components with proper HTML dependencies and JavaScript interactions
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
pkg-r/R/querychat_app.R |
Main implementation of the new querychat_app() function with complete Shiny UI/server logic |
pkg-r/R/querychat_tools.R |
New tool system with tool_update_dashboard() and tool_query() functions |
pkg-r/R/querychat.R |
Refactored to use new tool system and added JavaScript dependency management |
pkg-r/inst/htmldep/querychat.js |
JavaScript for handling dashboard update button interactions |
pkg-r/man/querychat_app.Rd |
Documentation for the new function |
pkg-r/pkgdown/_pkgdown.yml |
Added new function to package documentation index |
pkg-r/NAMESPACE |
Exported the new querychat_app() function |
pkg-r/DESCRIPTION |
Updated dependencies for new functionality |
pkg-r/NEWS.md |
Documented the new feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
74529e4 to
41d46f0
Compare
This was referenced Aug 19, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a simple chat interface via
querychat_app()that lets you quickly spin up a chat around a dataset.The simplest approach is to just pass in a dataset:
Or you can configure the chat using the
..., which are passed toquerychat_init()Or you can pass in a full
querychat_init()object