How to use GPT for text analysis in R

preview_player
Показать описание
A brief tutorial on how to use GPT, the LLM underlying the artificial intelligence chatbot ChatGPT, to analyze psychological constructs (such as sentiment and emotions) in R.

For sample code to follow along with this tutorial, check out the supplementary materials of the following paper:

Рекомендации по теме
Комментарии
Автор

Thanks for the instructional! Bug alert: when the ChatGPT warning is triggered for "This content may violate our usage policies. Did we get it wrong? Please tell us by giving this response a thumbs down." the script will fail. I'm working on a workaround. I'm using text data from Reddit with no known policy violations, and some posts are triggering it for unknown reasons.

nprause
Автор

Hi! Thanks for this video- super helpful :) I wanted to ask: I replicated your code and entered my own API keys, but when I tried to chat with GPT, the response I got was character(0). Any idea why this might be occuring?

loopseye
visit shbcf.ru