In this video, we'll learn how to query OpenAI's ChatGPT from within R, using just a couple lines of code. In order to do this, we'll first learn how to obtain a free API key from OpenAI. Next, we'll use the gptchatteR package to initiate a chat session with ChatGPT.
All of the code used in this video is available on my GitHub: https://github.com/melissavanbussel/YouTube-Tutorials/blob/main/ChatGPT/talk_to_ChatGPT.R
Shiny app that was demoed in the video: https://melissavanbussel.shinyapps.io/talk_to_chatgpt/
Link to browser-based version of ChatGPT: https://chat.openai.com/chat
Link to documentation for the gptchatteR package: https://github.com/isinaltinkaya/gptchatteR
If you found this video helpful, please subscribe to my channel.
Want to connect?
Twitter: https://twitter.com/melvanbussel
LinkedIn: https://www.linkedin.com/in/melissava...
Website: https://www.melissavanbussel.com/
GitHub: https://github.com/melissavanbussel