File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# shinychat
22
33<!-- badges: start -->
4- [ ![ R-CMD-check] ( https://github.com/jcheng5 /shinychat/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/jcheng5 /shinychat/actions/workflows/R-CMD-check.yaml )
4+ [ ![ R-CMD-check] ( https://github.com/posit-dev /shinychat/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/posit-dev /shinychat/actions/workflows/R-CMD-check.yaml )
55<!-- badges: end -->
66
77Chat UI component for [ Shiny for R] ( https://shiny.posit.co/ ) .
@@ -20,14 +20,14 @@ Or, install the development version of shinychat from [GitHub](https://github.co
2020
2121``` r
2222# install.packages("pak")
23- pak :: pak(" jcheng5 /shinychat" )
23+ pak :: pak(" posit-dev /shinychat" )
2424```
2525
2626## Example
2727
2828To run this example, you'll first need to create an OpenAI API key, and set it in your environment as ` OPENAI_API_KEY ` .
2929
30- You'll also need to call ` pak::pak("tidyverse/elmer ") ` to install the {[ elmer ] ( https://elmer .tidyverse.org/ ) } package.
30+ You'll also need to call ` pak::pak("tidyverse/ellmer ") ` to install the {[ ellmer ] ( https://ellmer .tidyverse.org/ ) } package.
3131
3232``` r
3333library(shiny )
@@ -38,7 +38,7 @@ ui <- bslib::page_fluid(
3838)
3939
4040server <- function (input , output , session ) {
41- chat <- elmer :: chat_openai(system_prompt = " You're a trickster who answers in riddles" )
41+ chat <- ellmer :: chat_openai(system_prompt = " You're a trickster who answers in riddles" )
4242
4343 observeEvent(input $ chat_user_input , {
4444 stream <- chat $ stream_async(input $ chat_user_input )
You can’t perform that action at this time.
0 commit comments