update readme

This commit is contained in:
Asim Aslam
2021-02-27 21:46:28 +00:00
parent 5c3b835c9f
commit e205a485b0

View File

@@ -1,23 +1,12 @@
# Sentiment Service
This is the Sentiment service
Generated with
```
micro new sentiment
```
The sentiment service provides rudimentary sentiment analysis on text
## Usage
Generate the proto code
```
make proto
$ micro sentiment analyze --text "This is great"
{
"score": 1
}
```
Run the service
```
micro run .
```