Use GPT-4o mini to quickly build a sentiment classifier.
result_type=float
to ensure the sentiment score is returned as a float value.
result_validator
parameter is used with the between()
function to ensure the result falls within the expected range.
context
parameter is used to pass the input text to the task.