Add sentiment analysis example for analyzing sentiment of text

This commit is contained in:
2024-10-29 07:17:18 -04:00
parent c3df982690
commit 7d0febedb2
+1
View File
@@ -17,3 +17,4 @@ print(
response_model=SentimentAnalysis,
)
)
# Output: SentimentAnalysis(sentiment='negative', confidence=0.95)