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
feat: Allow QueryChat usage outside of Shiny app (#168)
* chore(pkg-r): Tools check their inputs
* chore(pkg-r): Consolidate update function into single callback
* feat(pkg-r): Add a `$client()` method
* chore(pkg-r): Make `tools` configurable in `$client()`
* feat(pkg-r): Add `$console()` method
* chore(pkg-r): mod_server takes a client-creating function, or a client instance
* feat(pkg-r): Allow choosing which tools can be used
* refactor(pkg-r): Assemble the system prompt when creating the forked client
* feat(pkg-r): Conditionally include tool instructions in system prompt
* chore(pkg-r): Minor changes
* fix(pkg-r): Fix a couple of typos in $client
* tests(pkg-r): `QueryChat$client()`
* chore: make r-format
* feat(pkg-py): Port changes from R
* chore(pkg-py): Types and documentation completeness
* tests(pkg-py): Add tests for new querychat features
and fix a few small issues along the way
* refactor(pkg-r): mock_ellmer_chat_client()
* tests(pkg-r): Test console method
* chore: Add changelog items
* tests(pkg-r): Skip sqlite tests if RSQLite is not available
* refactor(pkg-py): Improve types and handling of `tools`
* chore(pkg-py): Add missing types
* refactor(pkg-py): Factor out `QueryChatSystemPrompt`
* refactor(pkg-r): Factor out `QueryChatSystemPrompt` utility class
* docs(pkg-py): Minor tweak
* `air format` (GitHub Actions)
* docs: simplify example again
* chore(pkg-py): Update `tools` typing
* chore(pkg-r): restore use of `read_utf8()`
* tests(pkg-r): Make resilient to whitespace differences
* fix(pkg-r): typo in tests
Copy file name to clipboardExpand all lines: pkg-py/CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [UNRELEASED]
9
9
10
+
### New features
11
+
12
+
*`QueryChat.client()` can now create standalone querychat-enabled chat clients with configurable tools and callbacks, enabling use outside of Shiny applications. (#168)
13
+
14
+
*`QueryChat.console()` was added to launch interactive console-based chat sessions with your data source, with persistent conversation state across invocations. (#168)
10
15
16
+
* The tools used in a `QueryChat` chatbot are now configurable. Use the new `tools` parameter of `QueryChat()` to select either or both `"query"` or `"update"` tools. Choose `tools=["update"]` if you only want QueryChat to be able to update the dashboard (useful when you want to be 100% certain that the LLM will not see _any_ raw data). (#168)
0 commit comments