Skip to content

Commit e898980

Browse files
authored
Update README.md for repo move
1 parent 51b718c commit e898980

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

77
Chat 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

2828
To 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
3333
library(shiny)
@@ -38,7 +38,7 @@ ui <- bslib::page_fluid(
3838
)
3939

4040
server <- 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)

0 commit comments

Comments
 (0)