mirror of
https://github.com/kennethreitz/simplemind.git
synced 2026-06-05 22:50:18 +00:00
Add sentiment analysis example for analyzing sentiment of text
This commit is contained in:
@@ -17,3 +17,4 @@ print(
|
||||
response_model=SentimentAnalysis,
|
||||
)
|
||||
)
|
||||
# Output: SentimentAnalysis(sentiment='negative', confidence=0.95)
|
||||
|
||||
Reference in New Issue
Block a user