ChatGPT Shiny R app

This is a simple integration of ChatGPT into shiny R. At first I wanted to do this in Python but it was easier to do a web app in R Shiny. I used code from this site to get started: https://www.listendata.com/2023/05/chatgpt-in-r.html#steps_to_run_chatgpt_in_r The app is hosted at: https://twong.shinyapps.io/chat_bot/ The R code for this shiny app is below. library(shiny) library(httr) ui <- fluidPage( titlePanel("ChatGPT Shiny App"), textInput("user_input", "Enter your message:"), actionButton("submit_btn", "Submit"), p(""), textOutput("chat_output"), p(""), p("Code for this page is at https://codelooper. [Read More]