Use ChatGPT API for Sentiment Analysis in Python

Use ChatGPT API for Sentiment Analysis in Python

Install package: pip install openai

Sign up and get your OpenAI key here:

Here is the related gist:

Get Text from Reddit:
Get Text from Twitter:

Leave a Reply

Your email address will not be published. Required fields are marked *