-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: sentiment analysis sample for Vertex LLMs #3250
Conversation
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
regret it. | ||
Classify the sentiment of the message: positive | ||
|
||
My family has watched Arthur Bach stumble and stammer since the movie first \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would consider cutting this paragraph and the next since it references actors by name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Removed content.
|
||
Tweet: The Pixel 7 Pro, is too big to fit in my jeans pocket, so I bought \ | ||
new jeans. | ||
Classify the sentiment of the message: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this is missing a sentiment value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. The sentiment is supposed to be missing here. This is the prompt for the model to predict.
/gcbrun |
Description
Fixes b/281562687
Add a sentiment analysis sample for Vertex LLMs.
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
npm test
(see Testing)npm run lint
(see Style)