Building a Chatbot with OpenAI, Shiny, & R - Part 1: Use GPT-4 with OpenAI API in R

Описание к видео Building a Chatbot with OpenAI, Shiny, & R - Part 1: Use GPT-4 with OpenAI API in R

In this tutorial, you'll learn how to query the OpenAI API from R using the {httr2} package. We'll focus on the chat capabilities of the API and build a function to get responses from gpt-3.5-turbo model or gpt-4. This video is the first in a series where we'll build an interactive chatbot using Shiny and R.

Helpful Links:
Code from this video: https://github.com/JamesHWade/r-chatb...
Project repo: https://github.com/JamesHWade/r-chatbot
{httr2}: https://httr2.r-lib.org/
OpenAI API documentation: https://platform.openai.com/docs/api-...
{openai}: https://irudnyts.github.io/openai/
Posit Cloud: https://posit.cloud/


#rstats #openai #tidyverse #httr #httr2 #chatgpt #programming #tutorial #chatbot #machinelearning #ai #nlp #shiny #chatbot #gpt4 #gpt3

Комментарии

Информация по комментариям в разработке