Skip to content

Commit 259fd2f

Browse files
committed
Add shiny assistant context
1 parent d8a3027 commit 259fd2f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/styles/config/vocabularies/posit-docs/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ File Explorer
2929
Connections Pane
3030
Positron Pro
3131
Positron Assistant
32+
Shiny Assistant
3233
GitHub Copilot
3334
Anthropic Claude
3435
Anthropic Claude Sonnet

assistant.qmd

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ Assistant's Chat pane (in the Activity Panel by default) knows about your R and
109109

110110
Code generated by Assistant can be run in the Console, copied to the clipboard, or sent to the Editor via controls attached to code output blocks.
111111

112+
#### Slash commands
113+
114+
Slash commands provide quick access to common tasks without writing long prompts. Start by typing / in the chat box to see available commands. For example, the `/quarto` command converts the current chat conversation into a Quarto document.
115+
116+
#### Chat participants
117+
118+
Chat participants provide specialized knowledge to the Positron Assistant. You can add a chat participant by typing `@` in the Chat pane then the chat participant name. Please reference the [Shiny Assistant](#shiny-assistant) section for more information on the use of a Shiny chat participant.
119+
112120
### Inline chat
113121

114122
The command _Inline Chat: Editor Inline Chat_ (default keybinding: Cmd + I) will open a mini chat right in the editor. This is very useful for asking questions in context, and also includes a good UX for integrating changes suggested by the model.
@@ -120,6 +128,12 @@ If GitHub Copilot is enabled and the user pauses typing for a few seconds, Posit
120128
- Make sure you have a [language model provider added](#adding-language-model-providers) for completions.
121129
- Check the DevTools Console logs to see if there are any errors logged. Run the `Developer: Toggle Developer Tools` command in the Command Palette to open DevTools.
122130

131+
## Shiny Assistant
132+
133+
The Shiny Assistant is a specialized tool available within Positron Assistant that provides context-aware assistance for Shiny applications in Python or R. It can help you with tasks such as generating Shiny UI components, server logic, and reactive expressions.
134+
135+
The Shiny Assistant is available in the chat pane and inline chat once you have enabled Positron Assistant and installed the [Shiny extension](https://open-vsx.org/extension/posit/shiny). Like other chat participants, Shiny Assistant can be invoked by typing `@shiny` in the chat pane or inline chat, followed by your question or request related to Shiny development.
136+
123137
## Language model provider API keys & authentication
124138

125139
::: {.callout-tip}

0 commit comments

Comments
 (0)