Use Open AI’s GPT model to run sentiment analysis on text.
The text you want to run sentiment analysis on.
The sampling temperature to use, between 0 and 2. Use 2 for creative applications, and 0 for well-defined answers. By default it is 0. For example:
The maximum number of tokens to generate in the completion. For example:
The model to use. By default it uses
"gpt-3.5-turbo" .For example: