-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add sample for sentiment analysis #13
Add sample for sentiment analysis #13
Conversation
@@ -16,6 +16,7 @@ Each subdirectory contains relevant code and instructions for the corresponding | |||
- [Clean and Standardize Data](clean-and-standardize-data): Sample code for cleaning and standardizing data. | |||
- [Data Mapper](data-mapper): Sample code for data mapping between different structures. | |||
- [Enrich Data](enrich-data): Sample code to enrich data. | |||
- [Sentiment Analysis](sentiment-analysis): Sample code for analyse feedbacks. |
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.
Shall we remove the earlier one?
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.
removed from the README but didn't remove the sample.
sentiment-analysis/main.bal
Outdated
float score; | ||
|}; | ||
|
||
final http:Client sentimentClient = check new ("https://language.googleapis.com"); |
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.
This sample is then again another HTTP EP integration; my suggestion was to use openAPI client to do the sentiment analysis. Please refer https://ballerina.io/usecases/ai/
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.
updated.
Closing this PR since we already have sample with openapi connector. |
Purpose
Goals
Approach
User stories
Release note
Documentation
Training
Certification
Marketing
Automation tests
Security checks
Samples
Related PRs
Migrations (if applicable)
Test environment
Learning